home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Technical Documentation / Mac Tech Notes (DocViewer) / Toolbox / TB 575 - Window Mgr Q&As < prev    next >
MacBinary  |  1994-07-24  |  55.1 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Tue Apr 19 09:25:39 1994, modified Sun Jul 24 15:02:19 1994, creator 'HLX2', type 'ONLN', 53637 bytes "TB 575 - Window Mgr Q&As" , at 0xd205 2473 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% dexmagic Picasso 64 Image default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 18 54 42 20 35 37 35 | 20 2d 20 57 69 6e 64 6f |..TB 575| - Windo|
|00000010| 77 20 4d 67 72 20 51 26 | 41 73 00 00 00 00 00 00 |w Mgr Q&|As......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 d1 85 00 | 00 09 a9 a9 d9 8c 53 aa |........|......S.|
|00000060| 58 6b 3b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |Xk;.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 50 c9 00 00 |........|....P...|
|00000080| 54 42 20 35 37 35 20 2d | 20 57 69 6e 64 6f 77 20 |TB 575 -| Window |
|00000090| 4d 61 6e 61 67 65 72 20 | 51 26 41 73 0d 54 6f 6f |Manager |Q&As.Too|
|000000a0| 6c 62 6f 78 09 0d 52 65 | 76 69 73 65 64 20 62 79 |lbox..Re|vised by|
|000000b0| 3a 09 52 6f 6e 20 4c 69 | 63 68 74 79 09 4e 6f 76 |:.Ron Li|chty.Nov|
|000000c0| 65 6d 62 65 72 20 31 39 | 39 33 0d 57 72 69 74 74 |ember 19|93.Writt|
|000000d0| 65 6e 20 62 79 3a 09 44 | 65 76 65 6c 6f 70 65 72 |en by:.D|eveloper|
|000000e0| 20 53 75 70 70 6f 72 74 | 20 43 65 6e 74 65 72 09 | Support| Center.|
|000000f0| 4f 63 74 6f 62 65 72 20 | 31 39 39 30 0d 54 68 69 |October |1990.Thi|
|00000100| 73 20 54 65 63 68 6e 69 | 63 61 6c 20 4e 6f 74 65 |s Techni|cal Note|
|00000110| 20 63 6f 6e 74 61 69 6e | 73 20 61 20 63 6f 6c 6c | contain|s a coll|
|00000120| 65 63 74 69 6f 6e 20 6f | 66 20 51 26 41 73 20 72 |ection o|f Q&As r|
|00000130| 65 6c 61 74 69 6e 67 20 | 74 6f 20 61 20 73 70 65 |elating |to a spe|
|00000140| 63 69 66 69 63 20 74 6f | 70 69 63 d1 71 75 65 73 |cific to|pic.ques|
|00000150| 74 69 6f 6e 73 20 79 6f | 75 d5 76 65 20 73 65 6e |tions yo|u.ve sen|
|00000160| 74 20 74 68 65 20 44 65 | 76 65 6c 6f 70 65 72 20 |t the De|veloper |
|00000170| 53 75 70 70 6f 72 74 20 | 43 65 6e 74 65 72 20 28 |Support |Center (|
|00000180| 44 53 43 29 20 61 6c 6f | 6e 67 20 77 69 74 68 20 |DSC) alo|ng with |
|00000190| 61 6e 73 77 65 72 73 20 | 66 72 6f 6d 20 74 68 65 |answers |from the|
|000001a0| 20 44 53 43 20 65 6e 67 | 69 6e 65 65 72 73 2e 20 | DSC eng|ineers. |
|000001b0| 57 68 69 6c 65 20 44 53 | 43 20 65 6e 67 69 6e 65 |While DS|C engine|
|000001c0| 65 72 73 20 68 61 76 65 | 20 63 68 65 63 6b 65 64 |ers have| checked|
|000001d0| 20 74 68 65 20 51 26 41 | 20 63 6f 6e 74 65 6e 74 | the Q&A| content|
|000001e0| 20 66 6f 72 20 61 63 63 | 75 72 61 63 79 2c 20 74 | for acc|uracy, t|
|000001f0| 68 65 20 51 26 41 20 54 | 65 63 68 6e 69 63 61 6c |he Q&A T|echnical|
|00000200| 20 4e 6f 74 65 73 20 64 | 6f 6e d5 74 20 68 61 76 | Notes d|on.t hav|
|00000210| 65 20 74 68 65 20 65 64 | 69 74 69 6e 67 20 61 6e |e the ed|iting an|
|00000220| 64 20 6f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 20 6f |d organi|zation o|
|00000230| 66 20 6f 74 68 65 72 20 | 54 65 63 68 6e 69 63 61 |f other |Technica|
|00000240| 6c 20 4e 6f 74 65 73 2e | 20 54 68 65 20 51 26 41 |l Notes.| The Q&A|
|00000250| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 74 6f 20 | functio|n is to |
|00000260| 67 65 74 20 6e 65 77 20 | 74 65 63 68 6e 69 63 61 |get new |technica|
|00000270| 6c 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 6e |l inform|ation an|
|00000280| 64 20 75 70 64 61 74 65 | 73 20 74 6f 20 79 6f 75 |d update|s to you|
|00000290| 20 71 75 69 63 6b 6c 79 | 2c 20 73 61 76 69 6e 67 | quickly|, saving|
|000002a0| 20 74 68 65 20 70 6f 6c | 69 73 68 20 66 6f 72 20 | the pol|ish for |
|000002b0| 77 68 65 6e 20 74 68 65 | 20 69 6e 66 6f 72 6d 61 |when the| informa|
|000002c0| 74 69 6f 6e 20 6d 69 67 | 72 61 74 65 73 20 69 6e |tion mig|rates in|
|000002d0| 74 6f 20 72 65 66 65 72 | 65 6e 63 65 20 6d 61 6e |to refer|ence man|
|000002e0| 75 61 6c 73 2e 0d 51 26 | 41 73 20 61 72 65 20 6e |uals..Q&|As are n|
|000002f0| 6f 77 20 69 6e 63 6c 75 | 64 65 64 20 77 69 74 68 |ow inclu|ded with|
|00000300| 20 54 65 63 68 6e 69 63 | 61 6c 20 4e 6f 74 65 73 | Technic|al Notes|
|00000310| 20 74 6f 20 6d 61 6b 65 | 20 61 63 63 65 73 73 20 | to make| access |
|00000320| 74 6f 20 74 65 63 68 6e | 69 63 61 6c 20 75 70 64 |to techn|ical upd|
|00000330| 61 74 65 73 20 65 61 73 | 69 65 72 20 66 6f 72 20 |ates eas|ier for |
|00000340| 79 6f 75 2e 20 49 66 20 | 79 6f 75 20 68 61 76 65 |you. If |you have|
|00000350| 20 63 6f 6d 6d 65 6e 74 | 73 20 6f 72 20 73 75 67 | comment|s or sug|
|00000360| 67 65 73 74 69 6f 6e 73 | 20 61 62 6f 75 74 20 51 |gestions| about Q|
|00000370| 26 41 20 63 6f 6e 74 65 | 6e 74 20 6f 72 20 64 69 |&A conte|nt or di|
|00000380| 73 74 72 69 62 75 74 69 | 6f 6e 2c 20 70 6c 65 61 |stributi|on, plea|
|00000390| 73 65 20 6c 65 74 20 75 | 73 20 6b 6e 6f 77 20 62 |se let u|s know b|
|000003a0| 79 20 73 65 6e 64 69 6e | 67 20 61 6e 20 41 70 70 |y sendin|g an App|
|000003b0| 6c 65 4c 69 6e 6b 20 74 | 6f 20 44 45 56 46 45 45 |leLink t|o DEVFEE|
|000003c0| 44 42 41 43 4b 2e 20 41 | 70 70 6c 65 20 50 61 72 |DBACK. A|pple Par|
|000003d0| 74 6e 65 72 73 20 6d 61 | 79 20 73 65 6e 64 20 74 |tners ma|y send t|
|000003e0| 65 63 68 6e 69 63 61 6c | 20 71 75 65 73 74 69 6f |echnical| questio|
|000003f0| 6e 73 20 61 62 6f 75 74 | 20 51 26 41 20 63 6f 6e |ns about| Q&A con|
|00000400| 74 65 6e 74 20 74 6f 20 | 44 45 56 53 55 50 50 4f |tent to |DEVSUPPO|
|00000410| 52 54 20 66 6f 72 20 72 | 65 73 6f 6c 75 74 69 6f |RT for r|esolutio|
|00000420| 6e 2e 0d 4e 65 77 20 51 | 26 41 73 20 69 6e 20 74 |n..New Q|&As in t|
|00000430| 68 69 73 20 54 65 63 68 | 6e 69 63 61 6c 20 4e 6f |his Tech|nical No|
|00000440| 74 65 3a 0d 48 6f 77 20 | 74 6f 20 73 61 76 65 20 |te:.How |to save |
|00000450| 61 6e 64 20 72 65 73 74 | 6f 72 65 20 77 69 6e 64 |and rest|ore wind|
|00000460| 6f 77 20 70 6f 73 69 74 | 69 6f 6e 73 0d 44 6f 6e |ow posit|ions.Don|
|00000470| d5 74 20 63 61 6c 6c 20 | 46 72 6f 6e 74 57 69 6e |.t call |FrontWin|
|00000480| 64 6f 77 20 66 72 6f 6d | 20 56 42 4c 20 74 61 73 |dow from| VBL tas|
|00000490| 6b 0d 44 61 74 65 20 57 | 72 69 74 74 65 6e 3a 20 |k.Date W|ritten: |
|000004a0| 20 20 33 2f 32 31 2f 39 | 33 0d 4c 61 73 74 20 72 | 3/21/9|3.Last r|
|000004b0| 65 76 69 65 77 65 64 3a | 20 36 2f 32 34 2f 39 33 |eviewed:| 6/24/93|
|000004c0| 0d 57 68 65 6e 20 49 20 | 63 61 6c 6c 20 46 72 6f |.When I |call Fro|
|000004d0| 6e 74 57 69 6e 64 6f 77 | 20 66 72 6f 6d 20 77 69 |ntWindow| from wi|
|000004e0| 74 68 69 6e 20 61 20 56 | 42 4c 20 74 61 73 6b 2c |thin a V|BL task,|
|000004f0| 20 6d 79 20 73 79 73 74 | 65 6d 20 6f 63 63 61 73 | my syst|em occas|
|00000500| 69 6f 6e 61 6c 6c 79 20 | 66 72 65 65 7a 65 73 20 |ionally |freezes |
|00000510| 61 74 20 74 68 69 73 20 | 63 61 6c 6c 2e 20 49 73 |at this |call. Is|
|00000520| 20 74 68 65 72 65 20 61 | 6e 79 20 63 68 61 6e 63 | there a|ny chanc|
|00000530| 65 20 74 68 61 74 20 69 | 74 20 6d 6f 76 65 73 20 |e that i|t moves |
|00000540| 6d 65 6d 6f 72 79 3f 0d | 5f 5f 5f 0d 46 72 6f 6e |memory?.|___.Fron|
|00000550| 74 57 69 6e 64 6f 77 20 | 6d 61 79 20 6d 6f 76 65 |tWindow |may move|
|00000560| 20 6d 65 6d 6f 72 79 2e | 20 49 74 20 69 73 6e d5 | memory.| It isn.|
|00000570| 74 20 6f 6e 20 74 68 65 | 20 6c 69 73 74 20 6f 66 |t on the| list of|
|00000580| 20 72 6f 75 74 69 6e 65 | 73 20 74 68 61 74 20 6d | routine|s that m|
|00000590| 61 79 20 6d 6f 76 65 20 | 6f 72 20 70 75 72 67 65 |ay move |or purge|
|000005a0| 20 6d 65 6d 6f 72 79 2c | 20 62 75 74 20 69 74 20 | memory,| but it |
|000005b0| 73 68 6f 75 6c 64 20 62 | 65 2e 20 49 74 d5 73 20 |should b|e. It.s |
|000005c0| 62 65 65 6e 20 70 61 74 | 63 68 65 64 20 6f 75 74 |been pat|ched out|
|000005d0| 20 73 69 6e 63 65 20 4d | 75 6c 74 69 46 69 6e 64 | since M|ultiFind|
|000005e0| 65 72 2c 20 61 6e 64 20 | 73 68 6f 75 6c 64 6e d5 |er, and |shouldn.|
|000005f0| 74 20 62 65 20 63 61 6c | 6c 65 64 20 61 74 20 69 |t be cal|led at i|
|00000600| 6e 74 65 72 72 75 70 74 | 20 74 69 6d 65 2e 0d 59 |nterrupt| time..Y|
|00000610| 6f 75 d5 6c 6c 20 68 61 | 76 65 20 74 6f 20 63 6f |ou.ll ha|ve to co|
|00000620| 6d 65 20 75 70 20 77 69 | 74 68 20 61 6e 6f 74 68 |me up wi|th anoth|
|00000630| 65 72 20 6d 65 74 68 6f | 64 20 6f 66 20 67 65 74 |er metho|d of get|
|00000640| 74 69 6e 67 20 74 68 65 | 20 66 72 6f 6e 74 20 77 |ting the| front w|
|00000650| 69 6e 64 6f 77 20 66 72 | 6f 6d 20 79 6f 75 72 20 |indow fr|om your |
|00000660| 56 42 4c 20 74 61 73 6b | 2e 20 59 6f 75 20 6d 61 |VBL task|. You ma|
|00000670| 79 20 77 61 6e 74 20 74 | 6f 20 6b 65 65 70 20 61 |y want t|o keep a|
|00000680| 20 73 68 61 64 6f 77 20 | 63 6f 70 79 20 6f 66 20 | shadow |copy of |
|00000690| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|000006a0| d5 73 20 77 69 6e 64 6f | 77 20 6c 69 73 74 20 69 |.s windo|w list i|
|000006b0| 6e 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |n your a|pplicati|
|000006c0| 6f 6e 20 67 6c 6f 62 61 | 6c 20 61 72 65 61 20 77 |on globa|l area w|
|000006d0| 68 65 72 65 20 79 6f 75 | 72 20 56 42 4c 20 74 61 |here you|r VBL ta|
|000006e0| 73 6b 20 63 61 6e 20 67 | 65 74 20 74 6f 20 69 74 |sk can g|et to it|
|000006f0| 2e 0d 48 6f 77 20 74 6f | 20 73 61 76 65 20 61 6e |..How to| save an|
|00000700| 64 20 72 65 73 74 6f 72 | 65 20 77 69 6e 64 6f 77 |d restor|e window|
|00000710| 20 70 6f 73 69 74 69 6f | 6e 73 0d 44 61 74 65 20 | positio|ns.Date |
|00000720| 57 72 69 74 74 65 6e 3a | 20 20 31 31 2f 31 36 2f |Written:| 11/16/|
|00000730| 39 33 0d 4c 61 73 74 20 | 72 65 76 69 65 77 65 64 |93.Last |reviewed|
|00000740| 3a 20 20 31 31 2f 31 36 | 2f 39 33 0d 48 6f 77 20 |: 11/16|/93.How |
|00000750| 73 68 6f 75 6c 64 20 6d | 79 20 61 70 70 6c 69 63 |should m|y applic|
|00000760| 61 74 69 6f 6e 20 73 61 | 76 65 20 61 6e 64 20 72 |ation sa|ve and r|
|00000770| 65 73 74 6f 72 65 20 69 | 74 73 20 77 69 6e 64 6f |estore i|ts windo|
|00000780| 77 73 d5 20 70 6f 73 69 | 74 69 6f 6e 73 3f 0d 5f |ws. posi|tions?._|
|00000790| 5f 5f 0d 49 74 20 69 73 | 20 76 65 72 79 20 69 6d |__.It is| very im|
|000007a0| 70 6f 72 74 61 6e 74 20 | 74 68 61 74 20 79 6f 75 |portant |that you|
|000007b0| 20 73 61 76 65 20 74 68 | 65 20 70 6f 73 69 74 69 | save th|e positi|
|000007c0| 6f 6e 73 20 6f 66 20 77 | 69 6e 64 6f 77 73 20 74 |ons of w|indows t|
|000007d0| 68 61 74 20 79 6f 75 20 | 6f 70 65 6e 2c 20 73 6f |hat you |open, so|
|000007e0| 20 74 68 61 74 20 74 68 | 65 20 6e 65 78 74 20 74 | that th|e next t|
|000007f0| 69 6d 65 20 74 68 65 20 | 75 73 65 72 20 6c 61 75 |ime the |user lau|
|00000800| 6e 63 68 65 73 20 79 6f | 75 72 20 61 70 70 6c 69 |nches yo|ur appli|
|00000810| 63 61 74 69 6f 6e 2c 20 | 74 68 65 20 77 69 6e 64 |cation, |the wind|
|00000820| 6f 77 73 20 77 69 6c 6c | 20 67 6f 20 77 68 65 72 |ows will| go wher|
|00000830| 65 20 74 68 65 79 20 68 | 61 64 20 74 68 65 6d 20 |e they h|ad them |
|00000840| 6c 61 73 74 2e 20 57 69 | 74 68 20 64 61 74 61 20 |last. Wi|th data |
|00000850| 66 69 6c 65 73 2c 20 74 | 68 65 20 77 69 6e 64 6f |files, t|he windo|
|00000860| 77 20 70 6f 73 69 74 69 | 6f 6e 73 20 63 61 6e 20 |w positi|ons can |
|00000870| 62 65 20 73 74 6f 72 65 | 64 20 69 6e 20 65 69 74 |be store|d in eit|
|00000880| 68 65 72 20 74 68 65 20 | 72 65 73 6f 75 72 63 65 |her the |resource|
|00000890| 20 6f 72 20 74 68 65 20 | 64 61 74 61 20 66 6f 72 | or the |data for|
|000008a0| 6b 2e 0d 49 66 20 79 6f | 75 20 68 61 76 65 20 77 |k..If yo|u have w|
|000008b0| 69 6e 64 6f 77 73 20 74 | 68 61 74 20 61 72 65 6e |indows t|hat aren|
|000008c0| d5 74 20 64 61 74 61 20 | 77 69 6e 64 6f 77 73 20 |.t data |windows |
|000008d0| 28 69 2e 65 2e 20 73 65 | 70 61 72 61 74 65 20 66 |(i.e. se|parate f|
|000008e0| 69 6c 65 73 29 2c 20 79 | 6f 75 20 73 68 6f 75 6c |iles), y|ou shoul|
|000008f0| 64 20 73 74 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |d store |informat|
|00000900| 69 6f 6e 20 61 62 6f 75 | 74 20 74 68 65 69 72 20 |ion abou|t their |
|00000910| 70 6f 73 69 74 69 6f 6e | 73 20 69 6e 20 61 20 73 |position|s in a s|
|00000920| 65 70 61 72 61 74 65 20 | 63 6f 6e 66 69 67 75 72 |eparate |configur|
|00000930| 61 74 69 6f 6e 20 66 69 | 6c 65 2e 20 28 53 74 6f |ation fi|le. (Sto|
|00000940| 72 69 6e 67 20 74 68 65 | 6d 20 61 73 20 61 20 72 |ring the|m as a r|
|00000950| 65 73 6f 75 72 63 65 20 | 69 6e 20 79 6f 75 72 20 |esource |in your |
|00000960| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 69 73 20 61 |applicat|ion is a|
|00000970| 20 62 61 64 20 69 64 65 | 61 2c 20 73 69 6e 63 65 | bad ide|a, since|
|00000980| 20 74 68 65 79 20 74 68 | 65 6e 20 31 29 20 61 72 | they th|en 1) ar|
|00000990| 65 20 6e 6f 74 20 73 68 | 61 72 65 61 62 6c 65 20 |e not sh|areable |
|000009a0| 6f 6e 20 41 70 70 6c 65 | 53 68 61 72 65 20 28 73 |on Apple|Share (s|
|000009b0| 69 6e 63 65 20 72 65 73 | 6f 75 72 63 65 20 66 6f |ince res|ource fo|
|000009c0| 72 6b 73 20 61 72 65 20 | 6e 6f 74 29 20 61 6e 64 |rks are |not) and|
|000009d0| 20 32 29 20 63 61 6e 6e | 6f 74 20 73 61 76 65 20 | 2) cann|ot save |
|000009e0| 74 68 65 69 72 20 70 6f | 73 69 74 69 6f 6e 73 20 |their po|sitions |
|000009f0| 69 66 20 72 75 6e 20 66 | 72 6f 6d 20 61 20 43 44 |if run f|rom a CD|
|00000a00| 2d 52 4f 4d 20 6f 72 20 | 6f 74 68 65 72 20 70 72 |-ROM or |other pr|
|00000a10| 6f 74 65 63 74 65 64 20 | 76 6f 6c 75 6d 65 2e 29 |otected |volume.)|
|00000a20| 20 0d 55 6e 64 65 72 20 | 53 79 73 74 65 6d 20 37 | .Under |System 7|
|00000a30| 2c 20 74 68 69 73 20 66 | 69 6c 65 20 73 68 6f 75 |, this f|ile shou|
|00000a40| 6c 64 20 62 65 20 70 75 | 74 20 69 6e 20 74 68 65 |ld be pu|t in the|
|00000a50| 20 50 72 65 66 65 72 65 | 6e 63 65 73 20 46 6f 6c | Prefere|nces Fol|
|00000a60| 64 65 72 20 69 6e 73 69 | 64 65 20 74 68 65 20 53 |der insi|de the S|
|00000a70| 79 73 74 65 6d 20 46 6f | 6c 64 65 72 2e 20 55 6e |ystem Fo|lder. Un|
|00000a80| 64 65 72 20 53 79 73 74 | 65 6d 20 36 2c 20 74 68 |der Syst|em 6, th|
|00000a90| 69 73 20 66 69 6c 65 20 | 73 68 6f 75 6c 64 20 62 |is file |should b|
|00000aa0| 65 20 70 75 74 20 69 6e | 20 74 68 65 20 63 75 72 |e put in| the cur|
|00000ab0| 72 65 6e 74 6c 79 20 6f | 70 65 6e 20 73 79 73 74 |rently o|pen syst|
|00000ac0| 65 6d 20 66 6f 6c 64 65 | 72 20 28 74 68 69 73 20 |em folde|r (this |
|00000ad0| 69 73 20 67 75 61 72 61 | 6e 74 65 65 64 20 74 6f |is guara|nteed to|
|00000ae0| 20 62 65 20 61 20 6c 6f | 63 61 6c 2c 20 6e 6f 6e | be a lo|cal, non|
|00000af0| 2d 73 68 61 72 65 64 20 | 76 6f 6c 75 6d 65 20 61 |-shared |volume a|
|00000b00| 73 20 6f 70 70 6f 73 65 | 64 20 74 6f 20 61 20 73 |s oppose|d to a s|
|00000b10| 65 72 76 65 72 20 76 6f | 6c 75 6d 65 29 2e 20 53 |erver vo|lume). S|
|00000b20| 65 65 20 54 65 63 68 20 | 4e 6f 74 65 20 54 42 35 |ee Tech |Note TB5|
|00000b30| 33 35 20 2d 20 46 69 6e | 64 65 72 20 51 26 41 73 |35 - Fin|der Q&As|
|00000b40| 3a 20 22 46 69 6e 64 46 | 6f 6c 64 65 72 20 61 6e |: "FindF|older an|
|00000b50| 64 20 53 61 76 69 6e 67 | 20 41 70 70 6c 69 63 61 |d Saving| Applica|
|00000b60| 74 69 6f 6e 20 50 72 65 | 66 65 72 65 6e 63 65 73 |tion Pre|ferences|
|00000b70| 22 2c 20 66 6f 72 20 63 | 6f 6d 6d 6f 6e 20 63 6f |", for c|ommon co|
|00000b80| 64 65 20 66 6f 72 20 53 | 79 73 74 65 6d 73 20 36 |de for S|ystems 6|
|00000b90| 20 61 6e 64 20 37 2e 0d | 52 65 67 61 72 64 6c 65 | and 7..|Regardle|
|00000ba0| 73 73 20 6f 66 20 77 68 | 65 72 65 20 79 6f 75 20 |ss of wh|ere you |
|00000bb0| 73 74 6f 72 65 20 77 69 | 6e 64 6f 77 20 70 6f 73 |store wi|ndow pos|
|00000bc0| 69 74 69 6f 6e 20 69 6e | 66 6f 72 6d 61 74 69 6f |ition in|formatio|
|00000bd0| 6e 2c 20 79 6f 75 72 20 | 70 72 6f 67 72 61 6d 20 |n, your |program |
|00000be0| 73 68 6f 75 6c 64 20 61 | 6c 77 61 79 73 20 63 68 |should a|lways ch|
|00000bf0| 65 63 6b 20 74 68 61 74 | 20 74 68 65 20 77 69 6e |eck that| the win|
|00000c00| 64 6f 77 27 73 20 63 6f | 6f 72 64 69 6e 61 74 65 |dow's co|ordinate|
|00000c10| 73 20 61 72 65 20 72 65 | 61 73 6f 6e 61 62 6c 65 |s are re|asonable|
|00000c20| 20 62 65 66 6f 72 65 20 | 72 65 6c 6f 63 61 74 69 | before |relocati|
|00000c30| 6e 67 20 74 68 65 20 77 | 69 6e 64 6f 77 20 74 68 |ng the w|indow th|
|00000c40| 65 72 65 2e 20 54 68 61 | 74 20 77 61 79 20 75 73 |ere. Tha|t way us|
|00000c50| 65 72 73 20 77 69 74 68 | 20 74 77 6f 20 6d 6f 6e |ers with| two mon|
|00000c60| 69 74 6f 72 73 20 77 68 | 6f 20 72 65 61 72 72 61 |itors wh|o rearra|
|00000c70| 6e 67 65 20 74 68 65 6d | 2c 20 6f 72 20 75 73 65 |nge them|, or use|
|00000c80| 72 73 20 77 69 74 68 20 | 6c 61 72 67 65 20 6f 72 |rs with |large or|
|00000c90| 20 6d 75 6c 74 69 70 6c | 65 20 6d 6f 6e 69 74 6f | multipl|e monito|
|00000ca0| 72 73 20 77 68 6f 20 67 | 69 76 65 20 74 68 65 69 |rs who g|ive thei|
|00000cb0| 72 20 64 6f 63 75 6d 65 | 6e 74 73 20 74 6f 20 75 |r docume|nts to u|
|00000cc0| 73 65 72 73 20 77 69 74 | 68 20 73 69 6e 67 6c 65 |sers wit|h single|
|00000cd0| 2c 20 73 6d 61 6c 6c 20 | 6d 6f 6e 69 74 6f 72 73 |, small |monitors|
|00000ce0| 2c 20 77 6f 6e 27 74 20 | 22 6c 6f 73 65 22 20 74 |, won't |"lose" t|
|00000cf0| 68 65 69 72 20 77 69 6e | 64 6f 77 73 20 77 68 65 |heir win|dows whe|
|00000d00| 6e 20 79 6f 75 72 20 70 | 72 6f 67 72 61 6d 20 72 |n your p|rogram r|
|00000d10| 65 6f 70 65 6e 73 20 74 | 68 65 6d 20 73 6f 6d 65 |eopens t|hem some|
|00000d20| 77 68 65 72 65 20 6f 66 | 66 73 63 72 65 65 6e 20 |where of|fscreen |
|00000d30| 28 66 6f 72 20 73 6f 6d | 65 20 72 65 61 73 6f 6e |(for som|e reason|
|00000d40| 20 75 73 65 72 73 20 66 | 69 6e 64 20 6f 66 66 73 | users f|ind offs|
|00000d50| 63 72 65 65 6e 20 77 69 | 6e 64 6f 77 73 20 68 61 |creen wi|ndows ha|
|00000d60| 72 64 20 74 6f 20 72 65 | 61 64 29 2e 0d 49 74 27 |rd to re|ad)..It'|
|00000d70| 73 20 6e 6f 74 20 65 6e | 6f 75 67 68 20 74 6f 20 |s not en|ough to |
|00000d80| 6b 6e 6f 77 20 73 6f 6d | 65 20 70 61 72 74 20 6f |know som|e part o|
|00000d90| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 20 69 73 20 |f the wi|ndow is |
|00000da0| 6f 6e 2d 73 63 72 65 65 | 6e 2e 20 54 68 65 72 65 |on-scree|n. There|
|00000db0| 20 6d 75 73 74 20 62 65 | 20 74 69 74 6c 65 20 62 | must be| title b|
|00000dc0| 61 72 20 70 69 78 65 6c | 73 20 6f 6e 2d 73 63 72 |ar pixel|s on-scr|
|00000dd0| 65 65 6e 20 66 6f 72 20 | 61 20 75 73 65 72 20 74 |een for |a user t|
|00000de0| 6f 20 64 72 61 67 20 74 | 68 65 20 77 69 6e 64 6f |o drag t|he windo|
|00000df0| 77 20 28 69 66 20 61 20 | 77 69 6e 64 6f 77 20 74 |w (if a |window t|
|00000e00| 68 61 74 20 75 73 65 73 | 20 74 68 65 20 73 74 61 |hat uses| the sta|
|00000e10| 6e 64 61 72 64 20 57 44 | 45 46 73 20 69 73 20 6f |ndard WD|EFs is o|
|00000e20| 70 65 6e 65 64 20 77 69 | 74 68 20 6f 6e 6c 79 20 |pened wi|th only |
|00000e30| 74 68 65 20 6c 6f 77 65 | 72 20 70 61 72 74 20 6f |the lowe|r part o|
|00000e40| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 20 73 68 6f |f the wi|ndow sho|
|00000e50| 77 69 6e 67 2c 20 74 68 | 65 72 65 d5 73 20 6e 6f |wing, th|ere.s no|
|00000e60| 20 77 61 79 20 74 6f 20 | 64 72 61 67 20 69 74 21 | way to |drag it!|
|00000e70| 29 2e 20 53 6f 20 79 6f | 75 20 6e 65 65 64 20 74 |). So yo|u need t|
|00000e80| 6f 20 63 61 6c 63 75 6c | 61 74 65 20 74 68 65 20 |o calcul|ate the |
|00000e90| 74 69 74 6c 65 20 62 61 | 72 d5 73 20 72 65 63 74 |title ba|r.s rect|
|00000ea0| 61 6e 67 6c 65 2e 20 53 | 74 61 72 74 20 62 79 20 |angle. S|tart by |
|00000eb0| 66 69 6e 64 69 6e 67 20 | 74 68 65 20 63 6f 6f 72 |finding |the coor|
|00000ec0| 64 69 6e 61 74 65 73 20 | 6f 66 20 74 68 65 20 77 |dinates |of the w|
|00000ed0| 69 6e 64 6f 77 d5 73 20 | 63 6f 6e 74 65 6e 74 20 |indow.s |content |
|00000ee0| 72 65 67 69 6f 6e 2c 20 | 77 68 69 63 68 20 69 73 |region, |which is|
|00000ef0| 20 66 61 69 72 6c 79 20 | 65 61 73 79 2e 20 55 73 | fairly |easy. Us|
|00000f00| 65 20 74 68 65 20 6c 65 | 66 74 20 61 6e 64 20 72 |e the le|ft and r|
|00000f10| 69 67 68 74 20 63 6f 6f | 72 64 69 6e 61 74 65 73 |ight coo|rdinates|
|00000f20| 20 61 73 2d 69 73 20 66 | 6f 72 20 74 68 65 20 74 | as-is f|or the t|
|00000f30| 69 74 6c 65 20 62 61 72 | d5 73 20 72 65 63 74 61 |itle bar|.s recta|
|00000f40| 6e 67 6c 65 3b 20 75 73 | 65 20 74 68 65 20 74 6f |ngle; us|e the to|
|00000f50| 70 20 63 6f 6e 74 65 6e | 74 20 72 65 67 69 6f 6e |p conten|t region|
|00000f60| 20 63 6f 6f 72 64 69 6e | 61 74 65 20 66 6f 72 20 | coordin|ate for |
|00000f70| 74 68 65 20 74 69 74 6c | 65 20 62 61 72 27 73 20 |the titl|e bar's |
|00000f80| 62 6f 74 74 6f 6d 20 63 | 6f 6f 72 64 69 6e 61 74 |bottom c|oordinat|
|00000f90| 65 2e 20 46 6f 72 20 74 | 68 65 20 74 6f 70 20 6f |e. For t|he top o|
|00000fa0| 66 20 74 68 65 20 74 69 | 74 6c 65 20 62 61 72 27 |f the ti|tle bar'|
|00000fb0| 73 20 72 65 63 74 61 6e | 67 6c 65 2c 20 73 75 62 |s rectan|gle, sub|
|00000fc0| 74 72 61 63 74 20 74 68 | 65 20 74 69 74 6c 65 20 |tract th|e title |
|00000fd0| 62 61 72 20 68 65 69 67 | 68 74 2e 20 46 6f 72 20 |bar heig|ht. For |
|00000fe0| 68 65 6c 70 20 63 61 6c | 63 75 6c 61 74 69 6e 67 |help cal|culating|
|00000ff0| 20 74 68 65 20 74 69 74 | 6c 65 20 62 61 72 20 68 | the tit|le bar h|
|00001000| 65 69 67 68 74 20 28 69 | 74 20 76 61 72 69 65 73 |eight (i|t varies|
|00001010| 20 69 6e 74 65 72 6e 61 | 74 69 6f 6e 61 6c 6c 79 | interna|tionally|
|00001020| 29 2c 20 73 65 65 20 74 | 68 65 20 6e 65 78 74 20 |), see t|he next |
|00001030| 71 75 65 73 74 69 6f 6e | 2c 20 22 48 6f 77 20 74 |question|, "How t|
|00001040| 6f 20 64 65 74 65 72 6d | 69 6e 65 20 4d 61 63 20 |o determ|ine Mac |
|00001050| 77 69 6e 64 6f 77 20 74 | 69 74 6c 65 20 62 61 72 |window t|itle bar|
|00001060| 20 68 65 69 67 68 74 20 | 66 6f 72 20 6c 6f 63 61 | height |for loca|
|00001070| 6c 69 7a 61 74 69 6f 6e | 2e 22 0d 4f 6e 63 65 20 |lization|.".Once |
|00001080| 79 6f 75 27 76 65 20 67 | 6f 74 20 74 68 65 20 74 |you've g|ot the t|
|00001090| 69 74 6c 65 20 62 61 72 | 27 73 20 72 65 63 74 61 |itle bar|'s recta|
|000010a0| 6e 67 6c 65 2c 20 63 61 | 6c 6c 20 49 6e 73 65 74 |ngle, ca|ll Inset|
|000010b0| 52 65 63 74 20 74 6f 20 | 69 6e 73 65 74 20 69 74 |Rect to |inset it|
|000010c0| 20 6f 6e 20 61 6c 6c 20 | 73 69 64 65 73 20 62 79 | on all |sides by|
|000010d0| 20 66 6f 75 72 20 70 69 | 78 65 6c 73 20 28 65 6e | four pi|xels (en|
|000010e0| 6f 75 67 68 20 66 6f 72 | 20 74 68 65 20 75 73 65 |ough for| the use|
|000010f0| 72 20 74 6f 20 6d 6f 75 | 73 65 20 6f 6e 20 74 6f |r to mou|se on to|
|00001100| 20 64 72 61 67 20 74 68 | 65 20 77 69 6e 64 6f 77 | drag th|e window|
|00001110| 20 62 61 63 6b 20 6f 6e | 74 6f 20 74 68 65 20 73 | back on|to the s|
|00001120| 63 72 65 65 6e 29 2e 20 | 54 68 65 6e 20 63 61 6c |creen). |Then cal|
|00001130| 6c 20 51 75 69 63 6b 44 | 72 61 77 27 73 20 52 65 |l QuickD|raw's Re|
|00001140| 63 74 49 6e 52 67 6e 20 | 74 6f 20 63 6f 6d 70 61 |ctInRgn |to compa|
|00001150| 72 65 20 74 68 65 20 74 | 69 74 6c 65 20 62 61 72 |re the t|itle bar|
|00001160| 27 73 20 72 65 63 74 61 | 6e 67 6c 65 20 61 67 61 |'s recta|ngle aga|
|00001170| 69 6e 73 74 20 74 68 65 | 20 67 6c 6f 62 61 6c 20 |inst the| global |
|00001180| 76 61 72 69 61 62 6c 65 | 20 47 72 61 79 52 67 6e |variable| GrayRgn|
|00001190| 2c 20 77 68 69 63 68 20 | 69 73 20 74 68 65 20 76 |, which |is the v|
|000011a0| 69 73 69 62 6c 65 20 64 | 65 73 6b 74 6f 70 20 72 |isible d|esktop r|
|000011b0| 65 67 69 6f 6e 2e 20 0d | 41 20 67 65 6e 65 72 61 |egion. .|A genera|
|000011c0| 6c 69 7a 65 64 20 72 6f | 75 74 69 6e 65 20 74 68 |lized ro|utine th|
|000011d0| 61 74 20 72 65 74 75 72 | 6e 73 20 61 20 62 6f 6f |at retur|ns a boo|
|000011e0| 6c 65 61 6e 20 69 6e 64 | 69 63 61 74 69 6e 67 20 |lean ind|icating |
|000011f0| 77 68 65 74 68 65 72 20 | 74 68 65 20 74 69 74 6c |whether |the titl|
|00001200| 65 20 62 61 72 20 6f 66 | 20 74 68 65 20 70 72 6f |e bar of| the pro|
|00001210| 70 6f 73 65 64 20 63 6f | 6f 72 64 69 6e 61 74 65 |posed co|ordinate|
|00001220| 73 20 6f 66 20 61 20 77 | 69 6e 64 6f 77 20 77 69 |s of a w|indow wi|
|00001230| 6c 6c 20 62 65 20 6f 6e | 2d 73 63 72 65 65 6e 20 |ll be on|-screen |
|00001240| 6d 69 67 68 74 20 6c 6f | 6f 6b 20 6c 69 6b 65 20 |might lo|ok like |
|00001250| 28 69 6e 20 43 29 3a 0d | 2f 2f 20 57 69 6e 64 6f |(in C):.|// Windo|
|00001260| 77 49 73 4f 6e 53 63 72 | 65 65 6e 3a 20 52 65 74 |wIsOnScr|een: Ret|
|00001270| 75 72 6e 20 74 72 75 65 | 20 69 66 20 61 74 20 6c |urn true| if at l|
|00001280| 65 61 73 74 20 34 20 70 | 69 78 65 6c 73 20 6f 66 |east 4 p|ixels of|
|00001290| 20 74 69 74 6c 65 20 62 | 61 72 20 61 72 65 20 6f | title b|ar are o|
|000012a0| 6e 2d 73 63 72 65 65 6e | 0d 2f 2f 20 20 20 54 69 |n-screen|.// Ti|
|000012b0| 74 6c 65 20 62 61 72 20 | 69 73 20 6b 65 79 2c 20 |tle bar |is key, |
|000012c0| 73 69 6e 63 65 20 74 68 | 61 74 d5 73 20 74 68 65 |since th|at.s the|
|000012d0| 20 6f 6e 6c 79 20 77 69 | 6e 64 6f 77 20 61 72 65 | only wi|ndow are|
|000012e0| 61 20 75 73 65 72 73 20 | 63 61 6e 20 64 72 61 67 |a users |can drag|
|000012f0| 20 69 74 20 61 72 6f 75 | 6e 64 20 62 79 0d 42 6f | it arou|nd by.Bo|
|00001300| 6f 6c 65 61 6e 20 57 69 | 6e 64 6f 77 49 73 4f 6e |olean Wi|ndowIsOn|
|00001310| 53 63 72 65 65 6e 28 57 | 69 6e 64 6f 77 50 74 72 |Screen(W|indowPtr|
|00001320| 20 75 73 65 72 57 69 6e | 64 6f 77 2c 20 63 6f 6e | userWin|dow, con|
|00001330| 73 74 20 52 65 63 74 20 | 2a 70 72 6f 70 6f 73 65 |st Rect |*propose|
|00001340| 64 43 6f 6e 74 65 6e 74 | 52 65 63 74 29 0d 7b 0d |dContent|Rect).{.|
|00001350| 20 20 20 20 52 65 63 74 | 20 20 20 20 64 72 61 67 | Rect| drag|
|00001360| 4f 6e 52 65 63 74 3b 20 | 20 20 20 20 2f 2f 20 63 |OnRect; | // c|
|00001370| 61 6c 63 75 6c 61 74 65 | 20 72 65 63 74 20 74 68 |alculate| rect th|
|00001380| 61 74 20 75 73 65 72 20 | 63 61 6e 20 64 72 61 67 |at user |can drag|
|00001390| 20 6f 6e 3a 20 74 68 65 | 20 74 69 74 6c 65 20 62 | on: the| title b|
|000013a0| 61 72 0d 20 20 20 20 64 | 72 61 67 4f 6e 52 65 63 |ar. d|ragOnRec|
|000013b0| 74 2e 6c 65 66 74 20 3d | 20 70 72 6f 70 6f 73 65 |t.left =| propose|
|000013c0| 64 43 6f 6e 74 65 6e 74 | 52 65 63 74 2d 3e 6c 65 |dContent|Rect->le|
|000013d0| 66 74 3b 20 20 20 2f 2f | 20 67 65 74 20 6c 65 66 |ft; //| get lef|
|000013e0| 74 20 74 69 74 6c 65 20 | 62 61 72 20 63 6f 6f 72 |t title |bar coor|
|000013f0| 64 20 0d 20 20 20 20 64 | 72 61 67 4f 6e 52 65 63 |d . d|ragOnRec|
|00001400| 74 2e 72 69 67 68 74 20 | 3d 20 70 72 6f 70 6f 73 |t.right |= propos|
|00001410| 65 64 43 6f 6e 74 65 6e | 74 52 65 63 74 2d 3e 72 |edConten|tRect->r|
|00001420| 69 67 68 74 3b 20 2f 2f | 20 67 65 74 20 72 69 67 |ight; //| get rig|
|00001430| 68 74 20 74 69 74 6c 65 | 20 62 61 72 20 63 6f 6f |ht title| bar coo|
|00001440| 72 64 20 0d 20 20 20 20 | 64 72 61 67 4f 6e 52 65 |rd . |dragOnRe|
|00001450| 63 74 2e 62 6f 74 74 6f | 6d 20 3d 20 70 72 6f 70 |ct.botto|m = prop|
|00001460| 6f 73 65 64 43 6f 6e 74 | 65 6e 74 52 65 63 74 2d |osedCont|entRect-|
|00001470| 3e 74 6f 70 3b 20 20 2f | 2f 20 62 6f 74 74 6f 6d |>top; /|/ bottom|
|00001480| 20 63 6f 6f 72 64 20 3d | 20 63 6f 6e 74 65 6e 74 | coord =| content|
|00001490| 20 74 6f 70 0d 20 20 20 | 20 2f 2f 20 6e 6f 77 20 | top. | // now |
|000014a0| 66 6f 72 20 74 68 65 20 | 74 6f 70 20 6f 66 20 74 |for the |top of t|
|000014b0| 68 65 20 74 69 74 6c 65 | 20 62 61 72 3a 20 74 6f |he title| bar: to|
|000014c0| 70 20 3d 20 62 6f 74 74 | 6f 6d 20 2d 20 68 65 69 |p = bott|om - hei|
|000014d0| 67 68 74 20 0d 20 20 20 | 20 2f 2f 20 75 73 65 20 |ght . | // use |
|000014e0| 47 65 74 54 69 74 6c 65 | 42 61 72 48 65 69 67 68 |GetTitle|BarHeigh|
|000014f0| 74 20 66 72 6f 6d 20 d2 | 48 6f 77 20 74 6f 20 64 |t from .|How to d|
|00001500| 65 74 65 72 6d 69 6e 65 | 20 4d 61 63 20 77 69 6e |etermine| Mac win|
|00001510| 64 6f 77 20 74 69 74 6c | 65 20 62 61 72 20 68 65 |dow titl|e bar he|
|00001520| 69 67 68 74 2e 2e 2e d3 | 0d 20 20 20 20 64 72 61 |ight....|. dra|
|00001530| 67 4f 6e 52 65 63 74 2e | 74 6f 70 20 3d 20 64 72 |gOnRect.|top = dr|
|00001540| 61 67 4f 6e 52 65 63 74 | 2e 62 6f 74 74 6f 6d 20 |agOnRect|.bottom |
|00001550| 2d 20 47 65 74 54 69 74 | 6c 65 42 61 72 48 65 69 |- GetTit|leBarHei|
|00001560| 67 68 74 28 75 73 65 72 | 57 69 6e 64 6f 77 29 3b |ght(user|Window);|
|00001570| 09 0d 09 09 0d 20 20 20 | 20 2f 2f 20 63 6f 6d 70 |..... | // comp|
|00001580| 61 72 65 20 74 69 74 6c | 65 20 62 61 72 20 61 67 |are titl|e bar ag|
|00001590| 61 69 6e 73 74 20 67 72 | 61 79 20 72 65 67 69 6f |ainst gr|ay regio|
|000015a0| 6e 20 28 74 68 65 20 76 | 69 73 69 62 6c 65 20 73 |n (the v|isible s|
|000015b0| 63 72 65 65 6e 20 72 65 | 67 69 6f 6e 29 0d 20 20 |creen re|gion). |
|000015c0| 20 20 2f 2f 20 66 69 72 | 73 74 20 67 69 76 65 20 | // fir|st give |
|000015d0| 75 73 65 72 20 34 20 70 | 69 78 65 6c 73 20 74 6f |user 4 p|ixels to|
|000015e0| 20 67 72 61 62 0d 20 20 | 20 20 49 6e 73 65 74 52 | grab. | InsetR|
|000015f0| 65 63 74 28 26 64 72 61 | 67 4f 6e 52 65 63 74 2c |ect(&dra|gOnRect,|
|00001600| 20 34 2c 20 34 29 3b 0d | 20 20 20 20 72 65 74 75 | 4, 4);.| retu|
|00001610| 72 6e 20 28 20 52 65 63 | 74 49 6e 52 67 6e 28 26 |rn ( Rec|tInRgn(&|
|00001620| 64 72 61 67 4f 6e 52 65 | 63 74 2c 20 47 65 74 47 |dragOnRe|ct, GetG|
|00001630| 72 61 79 52 67 6e 28 29 | 29 20 29 3b 0d 7d 0d 49 |rayRgn()|) );.}.I|
|00001640| 66 20 52 65 63 74 49 6e | 52 67 6e 20 72 65 76 65 |f RectIn|Rgn reve|
|00001650| 61 6c 73 20 74 68 65 20 | 77 69 6e 64 6f 77 20 77 |als the |window w|
|00001660| 69 6c 6c 20 62 65 20 76 | 69 73 69 62 6c 65 20 61 |ill be v|isible a|
|00001670| 74 20 74 68 65 20 70 72 | 6f 70 6f 73 65 64 20 28 |t the pr|oposed (|
|00001680| 70 72 65 76 69 6f 75 73 | 29 20 63 6f 6f 72 64 69 |previous|) coordi|
|00001690| 6e 61 74 65 73 2c 20 63 | 61 6c 6c 20 4d 6f 76 65 |nates, c|all Move|
|000016a0| 57 69 6e 64 6f 77 20 74 | 6f 20 6d 6f 76 65 20 69 |Window t|o move i|
|000016b0| 74 20 74 68 65 72 65 3b | 20 6f 74 68 65 72 77 69 |t there;| otherwi|
|000016c0| 73 65 2c 20 6c 6f 63 61 | 74 65 20 69 74 20 61 74 |se, loca|te it at|
|000016d0| 20 73 6f 6d 65 20 72 65 | 61 73 6f 6e 61 62 6c 65 | some re|asonable|
|000016e0| 20 70 6f 73 69 74 69 6f | 6e d1 74 68 65 20 6d 61 | positio|n.the ma|
|000016f0| 69 6e 20 73 63 72 65 65 | 6e 27 73 20 75 70 70 65 |in scree|n's uppe|
|00001700| 72 2d 6c 65 66 74 20 63 | 6f 6f 72 64 69 6e 61 74 |r-left c|oordinat|
|00001710| 65 73 20 61 72 65 20 61 | 74 20 30 2c 30 2c 20 62 |es are a|t 0,0, b|
|00001720| 75 74 20 79 6f 75 27 6c | 6c 20 77 61 6e 74 20 74 |ut you'l|l want t|
|00001730| 6f 20 70 6f 73 69 74 69 | 6f 6e 20 74 68 65 20 77 |o positi|on the w|
|00001740| 69 6e 64 6f 77 20 62 65 | 6c 6f 77 20 74 68 65 20 |indow be|low the |
|00001750| 6d 65 6e 75 20 62 61 72 | 20 62 79 20 61 64 64 69 |menu bar| by addi|
|00001760| 6e 67 20 62 6f 74 68 20 | 69 74 73 20 68 65 69 67 |ng both |its heig|
|00001770| 68 74 20 28 63 61 6c 6c | 20 47 65 74 4d 42 61 72 |ht (call| GetMBar|
|00001780| 48 65 69 67 68 74 29 20 | 61 6e 64 20 74 68 65 20 |Height) |and the |
|00001790| 74 69 74 6c 65 20 62 61 | 72 27 73 20 68 65 69 67 |title ba|r's heig|
|000017a0| 68 74 2e 0d 48 6f 77 20 | 74 6f 20 64 65 74 65 72 |ht..How |to deter|
|000017b0| 6d 69 6e 65 20 4d 61 63 | 20 77 69 6e 64 6f 77 20 |mine Mac| window |
|000017c0| 74 69 74 6c 65 20 62 61 | 72 20 68 65 69 67 68 74 |title ba|r height|
|000017d0| 20 66 6f 72 20 6c 6f 63 | 61 6c 69 7a 61 74 69 6f | for loc|alizatio|
|000017e0| 6e 0d 44 61 74 65 20 57 | 72 69 74 74 65 6e 3a 20 |n.Date W|ritten: |
|000017f0| 20 38 2f 31 32 2f 39 31 | 0d 4c 61 73 74 20 72 65 | 8/12/91|.Last re|
|00001800| 76 69 65 77 65 64 3a 20 | 20 31 31 2f 31 36 2f 39 |viewed: | 11/16/9|
|00001810| 33 0d 48 6f 77 20 63 61 | 6e 20 6d 79 20 61 70 70 |3.How ca|n my app|
|00001820| 6c 69 63 61 74 69 6f 6e | 20 64 65 74 65 72 6d 69 |lication| determi|
|00001830| 6e 65 20 61 20 77 69 6e | 64 6f 77 20 74 69 74 6c |ne a win|dow titl|
|00001840| 65 20 62 61 72 d5 73 20 | 68 65 69 67 68 74 20 69 |e bar.s |height i|
|00001850| 6e 20 70 69 78 65 6c 73 | 3f 20 49 73 20 74 68 65 |n pixels|? Is the|
|00001860| 72 65 20 61 20 6d 65 74 | 68 6f 64 20 73 69 6d 69 |re a met|hod simi|
|00001870| 6c 61 72 20 74 6f 20 72 | 65 61 64 69 6e 67 20 74 |lar to r|eading t|
|00001880| 68 65 20 67 6c 6f 62 61 | 6c 20 4d 42 61 72 48 65 |he globa|l MBarHe|
|00001890| 69 67 68 74 20 28 24 42 | 41 41 29 20 66 6f 72 20 |ight ($B|AA) for |
|000018a0| 74 68 65 20 6d 65 6e 75 | 20 62 61 72 20 68 65 69 |the menu| bar hei|
|000018b0| 67 68 74 3f 0d 5f 5f 5f | 0d 57 68 69 6c 65 20 74 |ght?.___|.While t|
|000018c0| 68 65 20 6d 65 6e 75 20 | 62 61 72 20 68 65 69 67 |he menu |bar heig|
|000018d0| 68 74 20 63 61 6e 20 62 | 65 20 65 61 73 69 6c 79 |ht can b|e easily|
|000018e0| 20 66 6f 75 6e 64 2c 20 | 64 65 74 65 72 6d 69 6e | found, |determin|
|000018f0| 69 6e 67 20 74 68 65 20 | 74 69 74 6c 65 20 62 61 |ing the |title ba|
|00001900| 72 20 68 65 69 67 68 74 | 20 72 65 71 75 69 72 65 |r height| require|
|00001910| 73 20 73 6f 6d 65 20 65 | 66 66 6f 72 74 2e 20 59 |s some e|ffort. Y|
|00001920| 6f 75 20 61 72 65 20 72 | 69 67 68 74 20 74 6f 20 |ou are r|ight to |
|00001930| 62 65 20 63 6f 6e 63 65 | 72 6e 65 64 20 61 62 6f |be conce|rned abo|
|00001940| 75 74 20 74 68 65 20 6d | 61 74 74 65 72 2c 20 61 |ut the m|atter, a|
|00001950| 73 20 69 6e 74 65 72 6e | 61 74 69 6f 6e 61 6c 20 |s intern|ational |
|00001960| 76 65 72 73 69 6f 6e 73 | 20 6f 66 20 74 68 65 20 |versions| of the |
|00001970| 73 79 73 74 65 6d 20 73 | 6f 66 74 77 61 72 65 20 |system s|oftware |
|00001980| 6d 61 79 20 68 61 76 65 | 20 76 61 72 69 6f 75 73 |may have| various|
|00001990| 20 73 69 7a 65 73 20 6f | 66 20 74 69 74 6c 65 20 | sizes o|f title |
|000019a0| 62 61 72 73 2e 0d 59 6f | 75 20 73 68 6f 75 6c 64 |bars..Yo|u should|
|000019b0| 20 61 6c 73 6f 20 6e 6f | 74 65 20 74 68 61 74 20 | also no|te that |
|000019c0| 49 6e 73 69 64 65 20 4d | 61 63 69 6e 74 6f 73 68 |Inside M|acintosh|
|000019d0| 3a 20 4d 61 63 69 6e 74 | 6f 73 68 20 54 6f 6f 6c |: Macint|osh Tool|
|000019e0| 62 6f 78 20 45 73 73 65 | 6e 74 69 61 6c 73 20 69 |box Esse|ntials i|
|000019f0| 73 20 69 6e 63 6f 72 72 | 65 63 74 20 69 6e 20 73 |s incorr|ect in s|
|00001a00| 74 61 74 69 6e 67 20 74 | 68 61 74 2c 20 69 6e 20 |tating t|hat, in |
|00001a10| 74 68 65 20 52 6f 6d 61 | 6e 20 73 63 72 69 70 74 |the Roma|n script|
|00001a20| 20 73 79 73 74 65 6d 2c | 20 74 68 65 20 73 74 61 | system,| the sta|
|00001a30| 6e 64 61 72 64 20 64 6f | 63 75 6d 65 6e 74 20 74 |ndard do|cument t|
|00001a40| 69 74 6c 65 20 62 61 72 | 20 69 73 20 32 30 20 70 |itle bar| is 20 p|
|00001a50| 69 78 65 6c 73 20 68 69 | 67 68 3a 20 69 74 20 69 |ixels hi|gh: it i|
|00001a60| 73 20 61 63 74 75 61 6c | 6c 79 20 31 39 20 70 69 |s actual|ly 19 pi|
|00001a70| 78 65 6c 73 20 68 69 67 | 68 2e 0d 49 6e 20 61 20 |xels hig|h..In a |
|00001a80| 6e 75 74 73 68 65 6c 6c | 2c 20 79 6f 75 20 6e 65 |nutshell|, you ne|
|00001a90| 65 64 20 74 6f 20 66 69 | 6e 64 20 74 68 65 20 64 |ed to fi|nd the d|
|00001aa0| 69 66 66 65 72 65 6e 63 | 65 20 62 65 74 77 65 65 |ifferenc|e betwee|
|00001ab0| 6e 20 74 68 65 20 74 6f | 70 20 6f 66 20 74 68 65 |n the to|p of the|
|00001ac0| 20 72 65 63 74 61 6e 67 | 6c 65 20 6f 66 20 74 68 | rectang|le of th|
|00001ad0| 65 20 77 69 6e 64 6f 77 | d5 73 20 63 6f 6e 74 65 |e window|.s conte|
|00001ae0| 6e 74 20 61 72 65 61 2c | 20 77 68 69 63 68 20 69 |nt area,| which i|
|00001af0| 73 20 62 65 6c 6f 77 20 | 74 68 65 20 74 69 74 6c |s below |the titl|
|00001b00| 65 20 62 61 72 2c 20 61 | 6e 64 20 74 68 65 20 74 |e bar, a|nd the t|
|00001b10| 6f 70 20 6f 66 20 69 74 | 73 20 73 74 72 75 63 74 |op of it|s struct|
|00001b20| 75 72 65 20 72 65 67 69 | 6f 6e 2e 20 42 65 20 61 |ure regi|on. Be a|
|00001b30| 77 61 72 65 20 74 68 61 | 74 20 74 68 65 20 77 69 |ware tha|t the wi|
|00001b40| 6e 64 6f 77 20 68 61 73 | 20 74 6f 20 62 65 20 76 |ndow has| to be v|
|00001b50| 69 73 69 62 6c 65 20 66 | 6f 72 20 69 74 73 20 73 |isible f|or its s|
|00001b60| 74 72 75 63 74 75 72 65 | 20 61 6e 64 20 63 6f 6e |tructure| and con|
|00001b70| 74 65 6e 74 20 72 65 67 | 69 6f 6e 73 20 74 6f 20 |tent reg|ions to |
|00001b80| 62 65 20 76 61 6c 69 64 | 2e 20 20 55 73 65 20 57 |be valid|. Use W|
|00001b90| 69 6e 64 6f 77 50 65 65 | 6b 20 74 6f 20 67 65 74 |indowPee|k to get|
|00001ba0| 20 74 68 65 20 76 61 6c | 75 65 73 2e 20 49 66 20 | the val|ues. If |
|00001bb0| 79 6f 75 20 6b 6e 6f 77 | 20 74 68 65 20 77 69 6e |you know| the win|
|00001bc0| 64 6f 77 20 69 73 20 76 | 69 73 69 62 6c 65 2c 20 |dow is v|isible, |
|00001bd0| 67 65 74 74 69 6e 67 20 | 74 68 65 20 74 69 74 6c |getting |the titl|
|00001be0| 65 20 62 61 72 20 68 65 | 69 67 68 74 20 69 73 20 |e bar he|ight is |
|00001bf0| 73 69 6d 70 6c 65 20 28 | 69 6e 20 43 29 3a 0d 20 |simple (|in C):. |
|00001c00| 20 74 69 74 6c 65 42 61 | 72 48 65 69 67 68 74 20 | titleBa|rHeight |
|00001c10| 3d 20 0d 20 20 20 20 20 | 20 28 20 2a 2a 28 20 28 |= . | ( **( (|
|00001c20| 28 57 69 6e 64 6f 77 50 | 65 65 6b 29 75 73 65 72 |(WindowP|eek)user|
|00001c30| 57 69 6e 64 6f 77 29 2d | 3e 63 6f 6e 74 52 67 6e |Window)-|>contRgn|
|00001c40| 29 20 29 2e 72 67 6e 42 | 42 6f 78 2e 74 6f 70 20 |) ).rgnB|Box.top |
|00001c50| 0d 20 20 20 20 20 20 20 | 20 20 2d 20 28 20 2a 2a |. | - ( **|
|00001c60| 28 20 28 28 57 69 6e 64 | 6f 77 50 65 65 6b 29 75 |( ((Wind|owPeek)u|
|00001c70| 73 65 72 57 69 6e 64 6f | 77 29 2d 3e 73 74 72 75 |serWindo|w)->stru|
|00001c80| 63 52 67 6e 29 20 29 2e | 72 67 6e 42 42 6f 78 2e |cRgn) ).|rgnBBox.|
|00001c90| 74 6f 70 3b 0d 53 69 6e | 63 65 20 6e 65 69 74 68 |top;.Sin|ce neith|
|00001ca0| 65 72 20 63 6f 6e 74 65 | 6e 74 20 6e 6f 72 20 73 |er conte|nt nor s|
|00001cb0| 74 72 75 63 74 75 72 65 | 20 72 65 67 69 6f 6e 20 |tructure| region |
|00001cc0| 69 73 20 76 61 6c 69 64 | 20 75 6e 6c 65 73 73 20 |is valid| unless |
|00001cd0| 74 68 65 20 77 69 6e 64 | 6f 77 20 69 73 20 76 69 |the wind|ow is vi|
|00001ce0| 73 69 62 6c 65 2c 20 79 | 6f 75 20 73 68 6f 75 6c |sible, y|ou shoul|
|00001cf0| 64 20 6d 61 6b 65 20 73 | 75 72 65 20 74 68 65 20 |d make s|ure the |
|00001d00| 77 69 6e 64 6f 77 20 69 | 73 20 76 69 73 69 62 6c |window i|s visibl|
|00001d10| 65 20 62 65 66 6f 72 65 | 20 79 6f 75 20 65 78 61 |e before| you exa|
|00001d20| 6d 69 6e 65 20 74 68 65 | 73 65 20 72 65 67 69 6f |mine the|se regio|
|00001d30| 6e 73 2e 20 54 68 65 20 | 65 61 73 69 65 73 74 20 |ns. The |easiest |
|00001d40| 74 68 69 6e 67 20 74 6f | 20 64 6f 20 69 73 20 74 |thing to| do is t|
|00001d50| 6f 20 6d 6f 76 65 20 74 | 68 65 20 77 69 6e 64 6f |o move t|he windo|
|00001d60| 77 20 77 61 79 20 6f 66 | 66 2d 73 63 72 65 65 6e |w way of|f-screen|
|00001d70| 2c 20 73 68 6f 77 20 69 | 74 20 28 75 73 65 20 53 |, show i|t (use S|
|00001d80| 68 6f 77 48 69 64 65 2c | 20 69 6e 73 74 65 61 64 |howHide,| instead|
|00001d90| 20 6f 66 20 53 68 6f 77 | 57 69 6e 64 6f 77 20 61 | of Show|Window a|
|00001da0| 6e 64 20 48 69 64 65 57 | 69 6e 64 6f 77 3a 20 48 |nd HideW|indow: H|
|00001db0| 69 64 65 57 69 6e 64 6f | 77 20 63 61 6e 20 63 68 |ideWindo|w can ch|
|00001dc0| 61 6e 67 65 20 74 68 65 | 20 70 6c 61 6e 65 20 6f |ange the| plane o|
|00001dd0| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 3b 20 61 6c |f the wi|ndow; al|
|00001de0| 73 6f 2c 20 53 68 6f 77 | 48 69 64 65 20 64 6f 65 |so, Show|Hide doe|
|00001df0| 73 20 6e 6f 74 20 61 66 | 66 65 63 74 20 74 68 65 |s not af|fect the|
|00001e00| 20 68 69 6c 69 74 69 6e | 67 20 6f 66 20 77 69 6e | hilitin|g of win|
|00001e10| 64 6f 77 73 29 2c 20 63 | 61 6c 63 75 6c 61 74 65 |dows), c|alculate|
|00001e20| 20 74 68 65 20 74 69 74 | 6c 65 20 62 61 72 20 68 | the tit|le bar h|
|00001e30| 65 69 67 68 74 2c 20 74 | 68 65 6e 20 68 69 64 65 |eight, t|hen hide|
|00001e40| 20 69 74 20 28 75 73 69 | 6e 67 20 53 68 6f 77 48 | it (usi|ng ShowH|
|00001e50| 69 64 65 20 61 67 61 69 | 6e 29 2c 20 61 6e 64 20 |ide agai|n), and |
|00001e60| 6d 6f 76 65 20 69 74 20 | 62 61 63 6b 2e 20 41 20 |move it |back. A |
|00001e70| 67 65 6e 65 72 61 6c 69 | 7a 65 64 20 72 6f 75 74 |generali|zed rout|
|00001e80| 69 6e 65 20 74 68 61 74 | 20 72 65 74 75 72 6e 73 |ine that| returns|
|00001e90| 20 74 68 65 20 77 69 6e | 64 6f 77 d5 73 20 74 69 | the win|dow.s ti|
|00001ea0| 74 6c 65 20 62 61 72 20 | 68 65 69 67 68 74 2c 20 |tle bar |height, |
|00001eb0| 72 65 67 61 72 64 6c 65 | 73 73 20 6f 66 20 77 68 |regardle|ss of wh|
|00001ec0| 65 74 68 65 72 20 74 68 | 65 20 77 69 6e 64 6f 77 |ether th|e window|
|00001ed0| 20 69 73 20 76 69 73 69 | 62 6c 65 2c 20 6d 69 67 | is visi|ble, mig|
|00001ee0| 68 74 20 6c 6f 6f 6b 20 | 6c 69 6b 65 20 28 61 67 |ht look |like (ag|
|00001ef0| 61 69 6e 20 69 6e 20 43 | 29 3a 0d 2f 2f 20 47 65 |ain in C|):.// Ge|
|00001f00| 74 54 69 74 6c 65 42 61 | 72 48 65 69 67 68 74 3a |tTitleBa|rHeight:|
|00001f10| 20 52 65 74 75 72 6e 20 | 74 68 65 20 68 65 69 67 | Return |the heig|
|00001f20| 68 74 20 6f 66 20 61 20 | 77 69 6e 64 6f 77 d5 73 |ht of a |window.s|
|00001f30| 20 74 69 74 6c 65 20 62 | 61 72 2c 20 0d 2f 2f 20 | title b|ar, .// |
|00001f40| 20 20 72 65 67 61 72 64 | 6c 65 73 73 20 6f 66 20 | regard|less of |
|00001f50| 77 68 65 74 68 65 72 20 | 74 68 65 20 77 69 6e 64 |whether |the wind|
|00001f60| 6f 77 20 69 73 20 76 69 | 73 69 62 6c 65 0d 75 6e |ow is vi|sible.un|
|00001f70| 73 69 67 6e 65 64 20 73 | 68 6f 72 74 20 47 65 74 |signed s|hort Get|
|00001f80| 54 69 74 6c 65 42 61 72 | 48 65 69 67 68 74 28 57 |TitleBar|Height(W|
|00001f90| 69 6e 64 6f 77 50 74 72 | 20 75 73 65 72 57 69 6e |indowPtr| userWin|
|00001fa0| 64 6f 77 29 0d 7b 0d 20 | 20 20 20 2f 2f 20 75 73 |dow).{. | // us|
|00001fb0| 65 20 6b 4f 66 66 73 63 | 72 65 65 6e 4c 6f 63 20 |e kOffsc|reenLoc |
|00001fc0| 66 72 6f 6d 20 53 79 73 | 74 65 6d 20 37 20 53 61 |from Sys|tem 7 Sa|
|00001fd0| 6d 70 6c 65 73 3a 44 54 | 53 2e 55 74 69 6c 69 74 |mples:DT|S.Utilit|
|00001fe0| 69 65 73 3a 55 74 69 6c | 69 74 69 65 73 2e 63 0d |ies:Util|ities.c.|
|00001ff0| 20 20 20 20 50 6f 69 6e | 74 20 20 20 6b 4f 66 66 | Poin|t kOff|
|00002000| 73 63 72 65 65 6e 50 6f | 69 6e 74 20 3d 20 7b 30 |screenPo|int = {0|
|00002010| 78 34 30 30 30 2c 20 30 | 78 34 30 30 30 7d 3b 20 |x4000, 0|x4000}; |
|00002020| 20 20 0d 20 20 20 20 73 | 68 6f 72 74 20 20 20 74 | . s|hort t|
|00002030| 69 74 6c 65 42 61 72 48 | 65 69 67 68 74 3b 20 20 |itleBarH|eight; |
|00002040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002050| 20 2f 2f 20 64 65 74 65 | 72 6d 69 6e 65 20 74 69 | // dete|rmine ti|
|00002060| 74 6c 65 20 62 61 72 20 | 68 65 69 67 68 74 0d 20 |tle bar |height. |
|00002070| 20 20 20 57 69 6e 64 6f | 77 50 65 65 6b 20 75 73 | Windo|wPeek us|
|00002080| 65 72 57 69 6e 64 6f 77 | 50 65 65 6b 20 3d 20 75 |erWindow|Peek = u|
|00002090| 73 65 72 57 69 6e 64 6f | 77 3b 20 20 20 2f 2f 20 |serWindo|w; // |
|000020a0| 75 73 65 20 74 6f 20 61 | 76 6f 69 64 20 63 61 73 |use to a|void cas|
|000020b0| 74 73 0d 20 20 20 20 2f | 2f 20 74 6f 20 66 69 6e |ts. /|/ to fin|
|000020c0| 64 20 74 68 65 20 74 6f | 70 20 6f 66 20 74 68 65 |d the to|p of the|
|000020d0| 20 74 69 74 6c 65 20 62 | 61 72 2c 20 74 68 65 20 | title b|ar, the |
|000020e0| 77 69 6e 64 6f 77 20 6d | 75 73 74 20 62 65 20 76 |window m|ust be v|
|000020f0| 69 73 69 62 6c 65 0d 20 | 20 20 20 2f 2f 20 28 74 |isible. | // (t|
|00002100| 68 65 20 73 74 72 75 63 | 52 67 6e 20 61 6e 64 20 |he struc|Rgn and |
|00002110| 63 6f 6e 74 52 67 6e 20 | 61 72 65 6e 27 74 20 73 |contRgn |aren't s|
|00002120| 65 74 20 75 70 20 69 66 | 20 77 69 6e 64 6f 77 20 |et up if| window |
|00002130| 68 61 73 6e 27 74 20 62 | 65 65 6e 20 73 68 6f 77 |hasn't b|een show|
|00002140| 6e 0d 20 20 20 20 69 66 | 20 28 75 73 65 72 57 69 |n. if| (userWi|
|00002150| 6e 64 6f 77 50 65 65 6b | 2d 3e 76 69 73 69 62 6c |ndowPeek|->visibl|
|00002160| 65 29 20 7b 20 20 20 20 | 20 20 20 20 20 20 20 20 |e) { | |
|00002170| 2f 2f 20 69 66 20 69 74 | 20 49 53 20 76 69 73 69 |// if it| IS visi|
|00002180| 62 6c 65 0d 20 20 20 20 | 20 20 20 20 74 69 74 6c |ble. | titl|
|00002190| 65 42 61 72 48 65 69 67 | 68 74 20 3d 20 20 20 20 |eBarHeig|ht = |
|000021a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021b0| 20 20 2f 2f 20 68 74 20 | 3d 20 63 6f 6e 74 65 6e | // ht |= conten|
|000021c0| 74 2e 74 6f 70 20 2d 20 | 73 74 72 75 63 74 2e 74 |t.top - |struct.t|
|000021d0| 6f 70 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 28 |op. | (|
|000021e0| 20 2a 2a 28 75 73 65 72 | 57 69 6e 64 6f 77 50 65 | **(user|WindowPe|
|000021f0| 65 6b 2d 3e 63 6f 6e 74 | 52 67 6e 29 20 29 2e 72 |ek->cont|Rgn) ).r|
|00002200| 67 6e 42 42 6f 78 2e 74 | 6f 70 0d 20 20 20 20 20 |gnBBox.t|op. |
|00002210| 20 20 20 20 20 20 20 20 | 20 20 2d 20 28 20 2a 2a | | - ( **|
|00002220| 28 75 73 65 72 57 69 6e | 64 6f 77 50 65 65 6b 2d |(userWin|dowPeek-|
|00002230| 3e 73 74 72 75 63 52 67 | 6e 29 20 29 2e 72 67 6e |>strucRg|n) ).rgn|
|00002240| 42 42 6f 78 2e 74 6f 70 | 3b 0d 20 20 20 20 7d 0d |BBox.top|;. }.|
|00002250| 20 20 20 20 2f 2f 20 69 | 66 20 74 68 65 20 77 69 | // i|f the wi|
|00002260| 6e 64 6f 77 20 69 73 20 | 4e 4f 54 20 76 69 73 69 |ndow is |NOT visi|
|00002270| 62 6c 65 2c 20 74 65 6d | 70 6f 72 61 72 69 6c 79 |ble, tem|porarily|
|00002280| 20 6d 6f 76 65 20 69 74 | 20 73 6f 6d 65 77 68 65 | move it| somewhe|
|00002290| 72 65 20 69 74 20 63 61 | 6e 20 62 65 2e 2e 2e 0d |re it ca|n be....|
|000022a0| 20 20 20 20 65 6c 73 65 | 20 7b 0d 20 20 20 20 20 | else| {. |
|000022b0| 20 20 20 50 6f 69 6e 74 | 20 20 20 73 61 76 65 50 | Point| saveP|
|000022c0| 6f 69 6e 74 3b 20 20 20 | 20 20 20 20 20 2f 2f 20 |oint; | // |
|000022d0| 73 61 76 65 20 67 6c 6f | 62 61 6c 20 63 6f 6f 72 |save glo|bal coor|
|000022e0| 64 73 20 6f 66 20 54 6f | 70 2d 4c 65 66 74 20 6f |ds of To|p-Left o|
|000022f0| 66 20 75 73 65 72 27 73 | 20 77 69 6e 64 6f 77 0d |f user's| window.|
|00002300| 20 20 20 20 20 20 20 20 | 47 72 61 66 50 74 72 20 | |GrafPtr |
|00002310| 73 61 76 65 50 6f 72 74 | 3b 0d 20 20 20 20 20 20 |savePort|;. |
|00002320| 20 20 47 65 74 50 6f 72 | 74 28 26 73 61 76 65 50 | GetPor|t(&saveP|
|00002330| 6f 72 74 29 3b 0d 20 20 | 20 20 20 20 20 20 53 65 |ort);. | Se|
|00002340| 74 50 6f 72 74 28 75 73 | 65 72 57 69 6e 64 6f 77 |tPort(us|erWindow|
|00002350| 29 3b 20 20 20 20 20 20 | 2f 2f 20 73 65 74 20 77 |); |// set w|
|00002360| 69 6e 64 6f 77 d5 73 20 | 70 6f 72 74 20 61 73 20 |indow.s |port as |
|00002370| 63 75 72 72 65 6e 74 20 | 70 6f 72 74 0d 20 20 20 |current |port. |
|00002380| 20 20 20 20 20 20 20 20 | 20 2f 2f 20 75 73 65 73 | | // uses|
|00002390| 20 47 65 74 47 6c 6f 62 | 61 6c 54 6f 70 4c 65 66 | GetGlob|alTopLef|
|000023a0| 74 20 66 72 6f 6d 20 44 | 54 53 2e 55 74 69 6c 69 |t from D|TS.Utili|
|000023b0| 74 69 65 73 2c 20 53 79 | 73 74 65 6d 20 37 20 73 |ties, Sy|stem 7 s|
|000023c0| 61 6d 70 6c 65 20 63 6f | 64 65 0d 20 20 20 20 20 |ample co|de. |
|000023d0| 20 20 20 73 61 76 65 50 | 6f 69 6e 74 20 3d 20 47 | saveP|oint = G|
|000023e0| 65 74 47 6c 6f 62 61 6c | 54 6f 70 4c 65 66 74 28 |etGlobal|TopLeft(|
|000023f0| 75 73 65 72 57 69 6e 64 | 6f 77 29 3b 20 20 0d 20 |userWind|ow); . |
|00002400| 20 20 20 20 20 20 20 2f | 2f 20 6d 6f 76 65 20 77 | /|/ move w|
|00002410| 69 6e 64 6f 77 20 77 61 | 79 20 6f 66 66 73 63 72 |indow wa|y offscr|
|00002420| 6e 0d 20 20 20 20 20 20 | 20 20 4d 6f 76 65 57 69 |n. | MoveWi|
|00002430| 6e 64 6f 77 28 75 73 65 | 72 57 69 6e 64 6f 77 2c |ndow(use|rWindow,|
|00002440| 20 6b 4f 66 66 73 63 72 | 65 65 6e 50 6f 69 6e 74 | kOffscr|eenPoint|
|00002450| 2e 68 2c 20 6b 4f 66 66 | 73 63 72 65 65 6e 50 6f |.h, kOff|screenPo|
|00002460| 69 6e 74 2e 76 2c 20 66 | 61 6c 73 65 29 3b 0d 20 |int.v, f|alse);. |
|00002470| 20 20 20 20 20 20 20 53 | 68 6f 77 48 69 64 65 28 | S|howHide(|
|00002480| 75 73 65 72 57 69 6e 64 | 6f 77 2c 20 74 72 75 65 |userWind|ow, true|
|00002490| 29 3b 20 20 2f 2f 20 6d | 61 6b 65 20 69 74 20 76 |); // m|ake it v|
|000024a0| 69 73 69 62 6c 65 20 28 | 69 6e 20 74 68 65 20 74 |isible (|in the t|
|000024b0| 77 69 6c 69 67 68 74 20 | 7a 6f 6e 65 29 0d 20 20 |wilight |zone). |
|000024c0| 20 20 20 20 20 20 74 69 | 74 6c 65 42 61 72 48 65 | ti|tleBarHe|
|000024d0| 69 67 68 74 20 3d 20 20 | 20 20 20 20 20 20 20 20 |ight = | |
|000024e0| 20 20 20 20 2f 2f 20 68 | 74 20 3d 20 63 6f 6e 74 | // h|t = cont|
|000024f0| 65 6e 74 2e 74 6f 70 20 | 2d 20 73 74 72 75 63 74 |ent.top |- struct|
|00002500| 2e 74 6f 70 0d 20 20 20 | 20 20 20 20 20 20 20 20 |.top. | |
|00002510| 20 28 20 2a 2a 28 75 73 | 65 72 57 69 6e 64 6f 77 | ( **(us|erWindow|
|00002520| 50 65 65 6b 2d 3e 63 6f | 6e 74 52 67 6e 29 20 29 |Peek->co|ntRgn) )|
|00002530| 2e 72 67 6e 42 42 6f 78 | 2e 74 6f 70 0d 20 20 20 |.rgnBBox|.top. |
|00002540| 20 20 20 20 20 20 20 20 | 20 20 20 20 2d 20 28 20 | | - ( |
|00002550| 2a 2a 28 75 73 65 72 57 | 69 6e 64 6f 77 50 65 65 |**(userW|indowPee|
|00002560| 6b 2d 3e 73 74 72 75 63 | 52 67 6e 29 20 29 2e 72 |k->struc|Rgn) ).r|
|00002570| 67 6e 42 42 6f 78 2e 74 | 6f 70 3b 0d 20 20 20 20 |gnBBox.t|op;. |
|00002580| 20 20 20 20 53 68 6f 77 | 48 69 64 65 28 75 73 65 | Show|Hide(use|
|00002590| 72 57 69 6e 64 6f 77 2c | 20 66 61 6c 73 65 29 3b |rWindow,| false);|
|000025a0| 20 2f 2f 20 68 69 64 65 | 20 69 74 20 61 67 61 69 | // hide| it agai|
|000025b0| 6e 0d 20 20 20 20 20 20 | 20 20 2f 2f 20 72 65 73 |n. | // res|
|000025c0| 74 6f 72 65 20 77 69 6e | 64 6f 77 27 73 20 70 72 |tore win|dow's pr|
|000025d0| 65 76 69 6f 75 73 20 6c | 6f 63 61 74 69 6f 6e 0d |evious l|ocation.|
|000025e0| 20 20 20 20 20 20 20 20 | 4d 6f 76 65 57 69 6e 64 | |MoveWind|
|000025f0| 6f 77 28 75 73 65 72 57 | 69 6e 64 6f 77 2c 20 73 |ow(userW|indow, s|
|00002600| 61 76 65 50 6f 69 6e 74 | 2e 68 2c 20 73 61 76 65 |avePoint|.h, save|
|00002610| 50 6f 69 6e 74 2e 76 2c | 20 74 72 75 65 29 3b 0d |Point.v,| true);.|
|00002620| 20 20 20 20 20 20 20 20 | 53 65 74 50 6f 72 74 28 | |SetPort(|
|00002630| 73 61 76 65 50 6f 72 74 | 29 3b 0d 20 20 20 20 7d |savePort|);. }|
|00002640| 0d 20 20 20 20 72 65 74 | 75 72 6e 20 28 20 74 69 |. ret|urn ( ti|
|00002650| 74 6c 65 42 61 72 48 65 | 69 67 68 74 20 29 3b 0d |tleBarHe|ight );.|
|00002660| 7d 0d 46 6f 72 20 6d 6f | 72 65 20 68 65 6c 70 2c |}.For mo|re help,|
|00002670| 20 6c 6f 6f 6b 20 61 74 | 20 44 54 53 2e 55 74 69 | look at| DTS.Uti|
|00002680| 6c 69 74 69 65 73 20 69 | 6e 20 74 68 65 20 53 61 |lities i|n the Sa|
|00002690| 6d 70 6c 65 20 43 6f 64 | 65 20 66 6f 6c 64 65 72 |mple Cod|e folder|
|000026a0| 20 6f 6e 20 74 68 65 20 | 53 79 73 74 65 6d 20 37 | on the |System 7|
|000026b0| 20 47 6f 6c 64 65 6e 20 | 4d 61 73 74 65 72 20 43 | Golden |Master C|
|000026c0| 44 2c 20 6f 72 20 69 6e | 20 74 68 65 20 53 79 73 |D, or in| the Sys|
|000026d0| 74 65 6d 20 37 20 53 61 | 6d 70 6c 65 73 20 66 6f |tem 7 Sa|mples fo|
|000026e0| 6c 64 65 72 20 6f 6e 20 | 73 75 62 73 65 71 75 65 |lder on |subseque|
|000026f0| 6e 74 20 44 65 76 65 6c | 6f 70 65 72 20 43 44 73 |nt Devel|oper CDs|
|00002700| 20 28 74 68 69 73 20 66 | 6f 6c 64 65 72 20 69 6e | (this f|older in|
|00002710| 63 6c 75 64 65 73 20 61 | 20 77 69 64 65 20 76 61 |cludes a| wide va|
|00002720| 72 69 65 74 79 20 6f 66 | 20 6f 74 68 65 72 20 62 |riety of| other b|
|00002730| 61 73 69 63 2c 20 75 73 | 65 66 75 6c 20 72 6f 75 |asic, us|eful rou|
|00002740| 74 69 6e 65 73 20 61 73 | 20 77 65 6c 6c 29 2e 20 |tines as| well). |
|00002750| 49 66 20 79 6f 75 d5 72 | 65 20 63 61 6c 63 75 6c |If you.r|e calcul|
|00002760| 61 74 69 6e 67 20 74 68 | 65 20 74 69 74 6c 65 20 |ating th|e title |
|00002770| 62 61 72 20 68 65 69 67 | 68 74 20 66 6f 72 20 74 |bar heig|ht for t|
|00002780| 68 65 20 70 75 72 70 6f | 73 65 20 6f 66 20 63 6f |he purpo|se of co|
|00002790| 6e 66 69 72 6d 69 6e 67 | 20 74 68 61 74 20 73 61 |nfirming| that sa|
|000027a0| 76 65 64 20 77 69 6e 64 | 6f 77 20 63 6f 6f 72 64 |ved wind|ow coord|
|000027b0| 69 6e 61 74 65 73 20 61 | 72 65 20 72 65 61 73 6f |inates a|re reaso|
|000027c0| 6e 61 62 6c 65 20 28 62 | 65 66 6f 72 65 20 72 65 |nable (b|efore re|
|000027d0| 6c 6f 63 61 74 69 6e 67 | 20 61 20 77 69 6e 64 6f |locating| a windo|
|000027e0| 77 20 74 6f 20 74 68 6f | 73 65 20 63 6f 6f 72 64 |w to tho|se coord|
|000027f0| 69 6e 61 74 65 73 29 2c | 20 73 65 65 20 74 68 65 |inates),| see the|
|00002800| 20 70 72 65 76 69 6f 75 | 73 20 71 75 65 73 74 69 | previou|s questi|
|00002810| 6f 6e 2c 20 d2 48 6f 77 | 20 74 6f 20 73 61 76 65 |on, .How| to save|
|00002820| 20 61 6e 64 20 72 65 73 | 74 6f 72 65 20 77 69 6e | and res|tore win|
|00002830| 64 6f 77 20 70 6f 73 69 | 74 69 6f 6e 73 2e d3 0d |dow posi|tions...|
|00002840| 43 6f 64 65 20 66 6f 72 | 20 69 6d 70 6c 65 6d 65 |Code for| impleme|
|00002850| 6e 74 69 6e 67 20 61 20 | 4d 61 63 69 6e 74 6f 73 |nting a |Macintos|
|00002860| 68 20 67 72 6f 77 20 62 | 6f 78 20 62 75 74 20 6e |h grow b|ox but n|
|00002870| 6f 74 20 73 63 72 6f 6c | 6c 20 62 61 72 73 0d 44 |ot scrol|l bars.D|
|00002880| 61 74 65 20 57 72 69 74 | 74 65 6e 3a 20 20 37 2f |ate Writ|ten: 7/|
|00002890| 33 30 2f 39 31 0d 4c 61 | 73 74 20 72 65 76 69 65 |30/91.La|st revie|
|000028a0| 77 65 64 3a 20 20 36 2f | 31 34 2f 39 33 0d 48 6f |wed: 6/|14/93.Ho|
|000028b0| 77 20 64 6f 20 49 20 64 | 72 61 77 20 61 20 4d 61 |w do I d|raw a Ma|
|000028c0| 63 69 6e 74 6f 73 68 20 | 67 72 6f 77 20 62 6f 78 |cintosh |grow box|
|000028d0| 20 77 69 74 68 6f 75 74 | 20 74 68 65 20 73 63 72 | without| the scr|
|000028e0| 6f 6c 6c 20 62 61 72 73 | 3f 20 49 6e 20 74 68 65 |oll bars|? In the|
|000028f0| 20 70 61 73 74 20 49 20 | 61 76 6f 69 64 65 64 20 | past I |avoided |
|00002900| 68 61 76 69 6e 67 20 74 | 68 65 20 73 63 72 6f 6c |having t|he scrol|
|00002910| 6c 20 62 61 72 73 20 62 | 79 20 63 61 6c 6c 69 6e |l bars b|y callin|
|00002920| 67 20 50 65 6e 53 69 7a | 65 28 2d 31 2c 20 2d 31 |g PenSiz|e(-1, -1|
|00002930| 29 2c 20 77 68 69 63 68 | 20 65 66 66 65 63 74 69 |), which| effecti|
|00002940| 76 65 6c 79 20 74 75 72 | 6e 73 20 6f 66 66 20 74 |vely tur|ns off t|
|00002950| 68 65 20 64 72 61 77 69 | 6e 67 20 6f 66 20 74 68 |he drawi|ng of th|
|00002960| 65 20 73 63 72 6f 6c 6c | 20 62 61 72 20 6c 69 6e |e scroll| bar lin|
|00002970| 65 73 2c 20 61 6e 64 20 | 74 68 65 6e 20 63 61 6c |es, and |then cal|
|00002980| 6c 69 6e 67 20 50 65 6e | 4e 6f 72 6d 61 6c 2c 20 |ling Pen|Normal, |
|00002990| 62 75 74 20 74 68 69 73 | 20 74 72 69 63 6b 20 64 |but this| trick d|
|000029a0| 6f 65 73 6e d5 74 20 77 | 6f 72 6b 20 69 6e 20 53 |oesn.t w|ork in S|
|000029b0| 79 73 74 65 6d 20 37 2e | 0d 5f 5f 5f 0d 54 68 65 |ystem 7.|.___.The|
|000029c0| 72 65 20 69 73 20 61 20 | 76 65 72 79 20 73 69 6d |re is a |very sim|
|000029d0| 70 6c 65 20 77 61 79 20 | 74 6f 20 64 6f 20 74 68 |ple way |to do th|
|000029e0| 69 73 3a 20 43 68 61 6e | 67 65 20 74 68 65 20 63 |is: Chan|ge the c|
|000029f0| 6c 69 70 70 69 6e 67 20 | 72 65 67 69 6f 6e 20 6f |lipping |region o|
|00002a00| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 20 62 65 66 |f the wi|ndow bef|
|00002a10| 6f 72 65 20 79 6f 75 20 | 63 61 6c 6c 20 44 72 61 |ore you |call Dra|
|00002a20| 77 47 72 6f 77 49 63 6f | 6e 2e 20 4d 61 6b 65 20 |wGrowIco|n. Make |
|00002a30| 73 75 72 65 20 79 6f 75 | 20 73 61 76 65 20 74 68 |sure you| save th|
|00002a40| 65 20 6f 6c 64 20 63 6c | 69 70 70 69 6e 67 20 72 |e old cl|ipping r|
|00002a50| 65 67 69 6f 6e 20 6f 72 | 20 61 6c 6c 20 68 65 63 |egion or| all hec|
|00002a60| 6b 20 77 69 6c 6c 20 62 | 72 65 61 6b 20 6c 6f 6f |k will b|reak loo|
|00002a70| 73 65 2e 20 48 65 72 65 | d5 73 20 61 20 6c 69 74 |se. Here|.s a lit|
|00002a80| 74 6c 65 20 72 6f 75 74 | 69 6e 65 20 74 68 61 74 |tle rout|ine that|
|00002a90| 20 79 6f 75 20 63 61 6e | 20 72 65 70 6c 61 63 65 | you can| replace|
|00002aa0| 20 63 61 6c 6c 73 20 74 | 6f 20 44 72 61 77 47 72 | calls t|o DrawGr|
|00002ab0| 6f 77 49 63 6f 6e 20 77 | 69 74 68 3a 0d 23 64 65 |owIcon w|ith:.#de|
|00002ac0| 66 69 6e 65 20 20 20 20 | 6b 47 72 6f 77 42 6f 78 |fine |kGrowBox|
|00002ad0| 57 69 64 74 68 20 20 20 | 20 31 35 0d 76 6f 69 64 |Width | 15.void|
|00002ae0| 20 4d 79 44 72 61 77 47 | 72 6f 77 49 63 6f 6e 28 | MyDrawG|rowIcon(|
|00002af0| 57 69 6e 64 6f 77 50 74 | 72 20 77 69 6e 64 6f 77 |WindowPt|r window|
|00002b00| 29 0d 7b 0d 20 20 20 20 | 47 72 61 66 50 74 72 20 |).{. |GrafPtr |
|00002b10| 73 61 76 65 50 6f 72 74 | 3b 20 20 20 0d 20 20 20 |savePort|; . |
|00002b20| 20 52 67 6e 48 61 6e 64 | 6c 65 20 73 61 76 65 52 | RgnHand|le saveR|
|00002b30| 67 6e 3b 0d 20 20 20 20 | 52 65 63 74 20 67 72 6f |gn;. |Rect gro|
|00002b40| 77 52 65 63 74 3b 0d 20 | 20 20 20 47 65 74 50 6f |wRect;. | GetPo|
|00002b50| 72 74 28 26 73 61 76 65 | 50 6f 72 74 29 3b 0d 20 |rt(&save|Port);. |
|00002b60| 20 20 20 53 65 74 50 6f | 72 74 28 77 69 6e 64 6f | SetPo|rt(windo|
|00002b70| 77 29 3b 0d 20 20 20 20 | 67 72 6f 77 52 65 63 74 |w);. |growRect|
|00002b80| 20 3d 20 77 69 6e 64 6f | 77 2d 3e 70 6f 72 74 52 | = windo|w->portR|
|00002b90| 65 63 74 3b 0d 20 20 20 | 20 67 72 6f 77 52 65 63 |ect;. | growRec|
|00002ba0| 74 2e 74 6f 70 20 3d 20 | 67 72 6f 77 52 65 63 74 |t.top = |growRect|
|00002bb0| 2e 62 6f 74 74 6f 6d 20 | 2d 20 6b 47 72 6f 77 42 |.bottom |- kGrowB|
|00002bc0| 6f 78 57 69 64 74 68 3b | 0d 20 20 20 20 67 72 6f |oxWidth;|. gro|
|00002bd0| 77 52 65 63 74 2e 6c 65 | 66 74 20 3d 20 67 72 6f |wRect.le|ft = gro|
|00002be0| 77 52 65 63 74 2e 72 69 | 67 68 74 20 2d 20 6b 47 |wRect.ri|ght - kG|
|00002bf0| 72 6f 77 42 6f 78 57 69 | 64 74 68 3b 0d 20 20 20 |rowBoxWi|dth;. |
|00002c00| 20 73 61 76 65 52 67 6e | 20 3d 20 4e 65 77 52 67 | saveRgn| = NewRg|
|00002c10| 6e 28 29 3b 0d 20 20 20 | 20 47 65 74 43 6c 69 70 |n();. | GetClip|
|00002c20| 28 73 61 76 65 52 67 6e | 29 3b 0d 20 20 20 20 43 |(saveRgn|);. C|
|00002c30| 6c 69 70 52 65 63 74 28 | 26 67 72 6f 77 52 65 63 |lipRect(|&growRec|
|00002c40| 74 29 3b 0d 20 20 20 20 | 44 72 61 77 47 72 6f 77 |t);. |DrawGrow|
|00002c50| 49 63 6f 6e 28 77 69 6e | 64 6f 77 29 3b 0d 20 20 |Icon(win|dow);. |
|00002c60| 20 20 53 65 74 43 6c 69 | 70 28 73 61 76 65 52 67 | SetCli|p(saveRg|
|00002c70| 6e 29 3b 0d 20 20 20 20 | 44 69 73 70 6f 73 65 52 |n);. |DisposeR|
|00002c80| 67 6e 28 73 61 76 65 52 | 67 6e 29 3b 0d 20 20 20 |gn(saveR|gn);. |
|00002c90| 20 53 65 74 50 6f 72 74 | 28 73 61 76 65 50 6f 72 | SetPort|(savePor|
|00002ca0| 74 29 3b 0d 20 20 20 20 | 44 72 61 77 47 72 6f 77 |t);. |DrawGrow|
|00002cb0| 49 63 6f 6e 28 77 69 6e | 64 6f 77 29 3b 20 20 20 |Icon(win|dow); |
|00002cc0| 0d 7d 0d 4a 75 73 74 20 | 70 61 73 74 65 20 74 68 |.}.Just |paste th|
|00002cd0| 69 73 20 63 6f 64 65 20 | 69 6e 74 6f 20 79 6f 75 |is code |into you|
|00002ce0| 72 20 63 6f 64 65 20 61 | 6e 64 20 72 65 70 6c 61 |r code a|nd repla|
|00002cf0| 63 65 20 61 6c 6c 20 63 | 61 6c 6c 73 20 74 6f 20 |ce all c|alls to |
|00002d00| 44 72 61 77 47 72 6f 77 | 49 63 6f 6e 20 77 69 74 |DrawGrow|Icon wit|
|00002d10| 68 20 4d 79 44 72 61 77 | 47 72 6f 77 49 63 6f 6e |h MyDraw|GrowIcon|
|00002d20| 2e 0d 4d 61 63 69 6e 74 | 6f 73 68 20 74 6f 6f 6c |..Macint|osh tool|
|00002d30| 20 70 61 6c 65 74 74 65 | 20 77 69 6e 64 6f 69 64 | palette| windoid|
|00002d40| 20 72 65 66 65 72 65 6e | 63 65 0d 44 61 74 65 20 | referen|ce.Date |
|00002d50| 57 72 69 74 74 65 6e 3a | 20 20 37 2f 33 30 2f 39 |Written:| 7/30/9|
|00002d60| 31 0d 4c 61 73 74 20 72 | 65 76 69 65 77 65 64 3a |1.Last r|eviewed:|
|00002d70| 20 20 38 2f 31 2f 39 31 | 0d 44 6f 20 79 6f 75 20 | 8/1/91|.Do you |
|00002d80| 68 61 76 65 20 61 6e 79 | 20 73 61 6d 70 6c 65 20 |have any| sample |
|00002d90| 63 6f 64 65 20 6f 72 20 | 57 44 45 46 73 20 66 6f |code or |WDEFs fo|
|00002da0| 72 20 4d 61 63 69 6e 74 | 6f 73 68 20 74 6f 6f 6c |r Macint|osh tool|
|00002db0| 20 70 61 6c 65 74 74 65 | 20 77 69 6e 64 6f 69 64 | palette| windoid|
|00002dc0| 73 3f 20 0d 5f 5f 5f 0d | 46 6c 6f 61 74 69 6e 67 |s? .___.|Floating|
|00002dd0| 20 77 69 6e 64 6f 77 73 | 20 6f 72 20 77 69 6e 64 | windows| or wind|
|00002de0| 6f 69 64 73 20 61 72 65 | 20 6e 6f 74 20 73 75 70 |oids are| not sup|
|00002df0| 70 6f 72 74 65 64 20 62 | 79 20 41 70 70 6c 65 d5 |ported b|y Apple.|
|00002e00| 73 20 73 79 73 74 65 6d | 20 73 6f 66 74 77 61 72 |s system| softwar|
|00002e10| 65 2e 20 54 68 65 20 62 | 65 73 74 20 65 78 61 6d |e. The b|est exam|
|00002e20| 70 6c 65 20 68 61 73 20 | 62 65 65 6e 20 70 75 62 |ple has |been pub|
|00002e30| 6c 69 73 68 65 64 20 69 | 6e 20 74 68 65 20 4d 61 |lished i|n the Ma|
|00002e40| 63 54 75 74 6f 72 20 61 | 72 74 69 63 6c 65 20 6f |cTutor a|rticle o|
|00002e50| 66 20 41 70 72 69 6c 20 | 61 6e 64 20 4d 61 79 20 |f April |and May |
|00002e60| 69 6e 20 31 39 38 38 2e | 20 28 49 74 d5 73 20 72 |in 1988.| (It.s r|
|00002e70| 65 70 72 69 6e 74 65 64 | 20 69 6e 20 54 68 65 20 |eprinted| in The |
|00002e80| 44 65 66 69 6e 69 74 69 | 76 65 20 4d 61 63 54 75 |Definiti|ve MacTu|
|00002e90| 74 6f 72 2c 20 56 6f 6c | 75 6d 65 20 34 2c 20 65 |tor, Vol|ume 4, e|
|00002ea0| 6e 74 69 74 6c 65 64 20 | d2 54 6f 6f 6c 20 57 69 |ntitled |.Tool Wi|
|00002eb0| 6e 64 6f 77 20 4d 61 6e | 61 67 65 72 2e d3 29 20 |ndow Man|ager..) |
|00002ec0| 49 74 73 20 6c 69 6d 69 | 74 61 74 69 6f 6e 20 69 |Its limi|tation i|
|00002ed0| 73 20 74 68 61 74 20 69 | 74 20 77 69 6c 6c 20 6f |s that i|t will o|
|00002ee0| 6e 6c 79 20 73 75 70 70 | 6f 72 74 20 61 20 73 69 |nly supp|ort a si|
|00002ef0| 6e 67 6c 65 20 77 69 6e | 64 6f 77 2e 20 54 68 65 |ngle win|dow. The|
|00002f00| 72 65 20 61 72 65 20 61 | 6c 73 6f 20 70 72 6f 62 |re are a|lso prob|
|00002f10| 6c 65 6d 20 77 68 65 6e | 20 75 73 69 6e 67 20 63 |lem when| using c|
|00002f20| 6f 6c 6f 72 20 51 75 69 | 63 6b 44 72 61 77 20 72 |olor Qui|ckDraw r|
|00002f30| 65 67 61 72 64 69 6e 67 | 20 74 68 65 20 50 61 6c |egarding| the Pal|
|00002f40| 65 74 74 65 20 4d 61 6e | 61 67 65 72 2c 20 61 6e |ette Man|ager, an|
|00002f50| 64 20 77 65 20 68 61 76 | 65 20 6e 6f 74 20 73 65 |d we hav|e not se|
|00002f60| 65 6e 20 61 20 67 6f 6f | 64 20 73 6f 6c 75 74 69 |en a goo|d soluti|
|00002f70| 6f 6e 2e 0d 55 6e 66 6f | 72 74 75 6e 61 74 65 6c |on..Unfo|rtunatel|
|00002f80| 79 2c 20 6e 6f 20 73 74 | 61 6e 64 61 72 64 20 57 |y, no st|andard W|
|00002f90| 44 45 46 20 68 61 73 20 | 62 65 65 6e 20 69 73 73 |DEF has |been iss|
|00002fa0| 75 65 64 20 62 79 20 41 | 70 70 6c 65 2c 20 6e 6f |ued by A|pple, no|
|00002fb0| 72 20 68 61 76 65 20 73 | 74 61 6e 64 61 72 64 73 |r have s|tandards|
|00002fc0| 20 20 62 65 65 6e 20 73 | 65 74 20 66 6f 72 20 61 | been s|et for a|
|00002fd0| 70 70 65 61 72 61 6e 63 | 65 20 61 6e 64 20 63 68 |ppearanc|e and ch|
|00002fe0| 61 72 61 63 74 65 72 69 | 73 74 69 63 73 20 6f 66 |aracteri|stics of|
|00002ff0| 20 66 6c 6f 61 74 69 6e | 67 20 77 69 6e 64 6f 77 | floatin|g window|
|00003000| 73 2e 20 54 68 6f 73 65 | 20 6d 61 79 20 62 65 20 |s. Those| may be |
|00003010| 61 76 61 69 6c 61 62 6c | 65 20 69 6e 20 74 68 65 |availabl|e in the|
|00003020| 20 66 75 74 75 72 65 2c | 20 62 75 74 20 77 65 20 | future,| but we |
|00003030| 70 72 65 73 65 6e 74 6c | 79 20 68 61 76 65 20 6e |presentl|y have n|
|00003040| 6f 20 67 75 69 64 65 6c | 69 6e 65 73 2e 0d 49 6d |o guidel|ines..Im|
|00003050| 70 6c 65 6d 65 6e 74 69 | 6e 67 20 4d 61 63 69 6e |plementi|ng Macin|
|00003060| 74 6f 73 68 20 66 6c 6f | 61 74 69 6e 67 20 77 69 |tosh flo|ating wi|
|00003070| 6e 64 6f 77 73 20 6f 72 | 20 70 61 6c 65 74 74 65 |ndows or| palette|
|00003080| 73 0d 44 61 74 65 20 57 | 72 69 74 74 65 6e 3a 20 |s.Date W|ritten: |
|00003090| 20 38 2f 31 35 2f 39 31 | 0d 4c 61 73 74 20 72 65 | 8/15/91|.Last re|
|000030a0| 76 69 65 77 65 64 3a 20 | 20 38 2f 31 35 2f 39 31 |viewed: | 8/15/91|
|000030b0| 0d 57 65 d5 72 65 20 68 | 61 76 69 6e 67 20 61 20 |.We.re h|aving a |
|000030c0| 6c 6f 74 20 6f 66 20 74 | 72 6f 75 62 6c 65 20 77 |lot of t|rouble w|
|000030d0| 69 74 68 20 6f 75 72 20 | 66 6c 6f 61 74 69 6e 67 |ith our |floating|
|000030e0| 20 70 61 6c 65 74 74 65 | 20 77 68 69 63 68 20 75 | palette| which u|
|000030f0| 73 65 73 20 74 68 65 20 | 67 6c 6f 62 61 6c 20 76 |ses the |global v|
|00003100| 61 72 69 61 62 6c 65 20 | 47 68 6f 73 74 57 69 6e |ariable |GhostWin|
|00003110| 64 6f 77 20 64 6f 63 75 | 6d 65 6e 74 65 64 20 69 |dow docu|mented i|
|00003120| 6e 20 49 6e 73 69 64 65 | 20 4d 61 63 69 6e 74 6f |n Inside| Macinto|
|00003130| 73 68 20 56 6f 6c 75 6d | 65 20 49 2e 20 57 68 61 |sh Volum|e I. Wha|
|00003140| 74 d5 73 20 74 68 65 20 | 62 65 73 74 20 77 61 79 |t.s the |best way|
|00003150| 20 74 6f 20 69 6d 70 6c | 65 6d 65 6e 74 20 61 20 | to impl|ement a |
|00003160| 66 6c 6f 61 74 69 6e 67 | 20 70 61 6c 65 74 74 65 |floating| palette|
|00003170| 3f 0d 5f 5f 5f 0d 54 68 | 65 72 65 20 69 73 20 6e |?.___.Th|ere is n|
|00003180| 6f 20 65 61 73 79 2c 20 | 62 75 69 6c 74 20 69 6e |o easy, |built in|
|00003190| 2c 20 61 6e 64 20 73 75 | 70 70 6f 72 74 65 64 20 |, and su|pported |
|000031a0| 77 61 79 20 74 6f 20 64 | 6f 20 66 6c 6f 61 74 69 |way to d|o floati|
|000031b0| 6e 67 20 77 69 6e 64 6f | 77 73 2f 70 61 6c 65 74 |ng windo|ws/palet|
|000031c0| 74 65 73 20 6f 6e 20 74 | 68 65 20 4d 61 63 69 6e |tes on t|he Macin|
|000031d0| 74 6f 73 68 2e 20 4e 6f | 6e 65 20 6f 66 20 74 68 |tosh. No|ne of th|
|000031e0| 65 20 73 6f 6c 75 74 69 | 6f 6e 73 20 61 76 61 69 |e soluti|ons avai|
|000031f0| 6c 61 62 6c 65 20 61 72 | 65 20 70 61 72 74 69 63 |lable ar|e partic|
|00003200| 75 6c 61 72 6c 79 20 65 | 6c 65 67 61 6e 74 2c 20 |ularly e|legant, |
|00003210| 62 75 74 20 74 68 65 79 | 20 64 6f 20 77 6f 72 6b |but they| do work|
|00003220| 2e 0d 55 73 69 6e 67 20 | 74 68 65 20 47 68 6f 73 |..Using |the Ghos|
|00003230| 74 57 69 6e 64 6f 77 20 | 6c 6f 77 2d 6d 65 6d 6f |tWindow |low-memo|
|00003240| 72 79 20 67 6c 6f 62 61 | 6c 20 74 6f 20 64 6f 20 |ry globa|l to do |
|00003250| 66 6c 6f 61 74 69 6e 67 | 20 77 69 6e 64 6f 77 73 |floating| windows|
|00003260| 20 69 73 20 6e 6f 74 20 | 61 20 67 6f 6f 64 20 69 | is not |a good i|
|00003270| 64 65 61 2c 20 6d 6f 73 | 74 6c 79 20 62 65 63 61 |dea, mos|tly beca|
|00003280| 75 73 65 20 69 74 d5 73 | 20 61 20 6c 6f 77 2d 6d |use it.s| a low-m|
|00003290| 65 6d 6f 72 79 20 67 6c | 6f 62 61 6c 2c 20 62 75 |emory gl|obal, bu|
|000032a0| 74 20 61 6c 73 6f 20 62 | 65 63 61 75 73 65 20 69 |t also b|ecause i|
|000032b0| 74 20 6f 6e 6c 79 20 61 | 6c 6c 6f 77 73 20 6f 6e |t only a|llows on|
|000032c0| 65 20 d2 66 6c 6f 61 74 | 69 6e 67 d3 20 77 69 6e |e .float|ing. win|
|000032d0| 64 6f 77 20 69 6e 20 61 | 6e 20 61 70 70 6c 69 63 |dow in a|n applic|
|000032e0| 61 74 69 6f 6e 2e 0d 41 | 20 73 6f 6c 75 74 69 6f |ation..A| solutio|
|000032f0| 6e 20 74 68 61 74 20 73 | 68 6f 75 6c 64 20 77 6f |n that s|hould wo|
|00003300| 72 6b 20 77 65 6c 6c 20 | 66 6f 72 20 79 6f 75 2c |rk well |for you,|
|00003310| 20 62 75 74 20 69 74 20 | 69 73 20 6e 6f 74 20 69 | but it |is not i|
|00003320| 6e 63 72 65 64 69 62 6c | 79 20 65 6c 65 67 61 6e |ncredibl|y elegan|
|00003330| 74 2c 20 69 73 20 74 6f | 20 77 72 69 74 65 20 d2 |t, is to| write .|
|00003340| 77 72 61 70 70 65 72 d3 | 20 66 75 6e 63 74 69 6f |wrapper.| functio|
|00003350| 6e 73 20 66 6f 72 20 74 | 68 65 20 57 69 6e 64 6f |ns for t|he Windo|
|00003360| 77 20 4d 61 6e 61 67 65 | 72 20 66 75 6e 63 74 69 |w Manage|r functi|
|00003370| 6f 6e 73 2e 20 42 61 73 | 69 63 61 6c 6c 79 2c 20 |ons. Bas|ically, |
|00003380| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|00003390| 20 64 6f 65 73 6e d5 74 | 20 63 61 6c 6c 20 6d 61 | doesn.t| call ma|
|000033a0| 6e 79 20 6f 66 20 74 68 | 65 20 57 69 6e 64 6f 77 |ny of th|e Window|
|000033b0| 20 4d 61 6e 61 67 65 72 | 20 66 75 6e 63 74 69 6f | Manager| functio|
|000033c0| 6e 73 20 28 42 72 69 6e | 67 54 6f 46 72 6f 6e 74 |ns (Brin|gToFront|
|000033d0| 2f 46 72 6f 6e 74 57 69 | 6e 64 6f 77 2f 4d 6f 76 |/FrontWi|ndow/Mov|
|000033e0| 65 57 69 6e 64 6f 77 29 | 20 62 75 74 20 69 6e 73 |eWindow)| but ins|
|000033f0| 74 65 61 64 20 63 61 6c | 6c 73 20 72 6f 75 74 69 |tead cal|ls routi|
|00003400| 6e 65 73 20 74 68 61 74 | 20 6b 65 65 70 20 74 72 |nes that| keep tr|
|00003410| 61 63 6b 20 6f 66 20 77 | 68 65 72 65 20 74 68 65 |ack of w|here the|
|00003420| 20 66 6c 6f 61 74 69 6e | 67 20 77 69 6e 64 6f 77 | floatin|g window|
|00003430| 73 20 61 72 65 2c 20 61 | 6e 64 20 68 6f 77 20 74 |s are, a|nd how t|
|00003440| 6f 20 6b 65 65 70 20 74 | 68 65 6d 20 69 6e 20 66 |o keep t|hem in f|
|00003450| 72 6f 6e 74 2e 0d 4d 61 | 63 54 75 74 6f 72 20 68 |ront..Ma|cTutor h|
|00003460| 61 73 20 68 61 64 20 61 | 20 63 6f 75 70 6c 65 20 |as had a| couple |
|00003470| 6f 66 20 67 6f 6f 64 20 | 61 72 74 69 63 6c 65 73 |of good |articles|
|00003480| 20 6f 6e 20 74 68 69 73 | 20 74 6f 70 69 63 3a 0d | on this| topic:.|
|00003490| a5 20 d2 54 65 61 72 2d | 6f 66 66 20 4d 65 6e 75 |. .Tear-|off Menu|
|000034a0| 73 20 26 20 46 6c 6f 61 | 74 69 6e 67 20 50 61 6c |s & Floa|ting Pal|
|000034b0| 65 74 74 65 73 2c d3 20 | 62 79 20 44 6f 6e 20 4d |ettes,. |by Don M|
|000034c0| 65 6c 74 6f 6e 20 61 6e | 64 20 4d 69 6b 65 20 52 |elton an|d Mike R|
|000034d0| 69 74 74 65 72 20 28 4d | 61 63 54 75 74 6f 72 20 |itter (M|acTutor |
|000034e0| 34 3a 34 29 2c 20 64 65 | 73 63 72 69 62 65 73 20 |4:4), de|scribes |
|000034f0| 68 6f 77 20 74 6f 20 64 | 6f 20 74 65 61 72 2d 6f |how to d|o tear-o|
|00003500| 66 66 20 6d 65 6e 75 73 | 20 61 6e 64 20 74 75 72 |ff menus| and tur|
|00003510| 6e 20 74 68 65 6d 20 69 | 6e 74 6f 20 66 6c 6f 61 |n them i|nto floa|
|00003520| 74 69 6e 67 20 70 61 6c | 65 74 74 65 73 2e 20 0d |ting pal|ettes. .|
|00003530| a5 20 d2 54 6f 6f 6c 20 | 57 69 6e 64 6f 77 20 4d |. .Tool |Window M|
|00003540| 61 6e 61 67 65 72 2c d3 | 20 62 79 20 54 68 6f 6d |anager,.| by Thom|
|00003550| 61 73 20 46 72 75 69 6e | 20 28 4d 61 63 54 75 74 |as Fruin| (MacTut|
|00003560| 6f 72 20 34 3a 31 32 29 | 2c 20 67 69 76 65 73 20 |or 4:12)|, gives |
|00003570| 73 6f 75 72 63 65 20 28 | 69 6e 20 43 29 20 74 6f |source (|in C) to|
|00003580| 20 61 20 6e 65 77 20 d2 | 77 69 6e 64 6f 77 20 6d | a new .|window m|
|00003590| 61 6e 61 67 65 72 d3 20 | 77 68 69 63 68 20 68 61 |anager. |which ha|
|000035a0| 6e 64 6c 65 73 20 66 6c | 6f 61 74 65 72 73 20 74 |ndles fl|oaters t|
|000035b0| 68 65 20 63 6f 72 72 65 | 63 74 20 77 61 79 20 74 |he corre|ct way t|
|000035c0| 68 72 6f 75 67 68 20 77 | 72 61 70 70 65 72 20 66 |hrough w|rapper f|
|000035d0| 75 6e 63 74 69 6f 6e 73 | 2e 0d 48 6f 77 20 74 68 |unctions|..How th|
|000035e0| 65 20 73 79 73 74 65 6d | 20 57 44 45 46 20 64 65 |e system| WDEF de|
|000035f0| 74 65 72 6d 69 6e 65 73 | 20 63 6f 6c 6f 72 0d 44 |termines| color.D|
|00003600| 61 74 65 20 57 72 69 74 | 74 65 6e 3a 20 20 31 30 |ate Writ|ten: 10|
|00003610| 2f 32 33 2f 39 31 0d 4c | 61 73 74 20 72 65 76 69 |/23/91.L|ast revi|
|00003620| 65 77 65 64 3a 20 20 32 | 2f 31 37 2f 39 32 0d 57 |ewed: 2|/17/92.W|
|00003630| 65 d5 72 65 20 75 73 69 | 6e 67 20 77 63 74 62 20 |e.re usi|ng wctb |
|00003640| 30 20 61 6e 64 20 63 63 | 74 62 20 30 20 6f 66 20 |0 and cc|tb 0 of |
|00003650| 74 68 65 20 73 79 73 74 | 65 6d 20 73 6f 20 6f 75 |the syst|em so ou|
|00003660| 72 20 57 44 45 46 20 61 | 6e 64 20 43 44 45 46 20 |r WDEF a|nd CDEF |
|00003670| 77 69 6c 6c 20 62 65 20 | 37 2e 30 20 66 72 69 65 |will be |7.0 frie|
|00003680| 6e 64 6c 79 2e 20 54 68 | 65 20 4d 61 63 69 6e 74 |ndly. Th|e Macint|
|00003690| 6f 73 68 20 54 65 63 68 | 6e 69 63 61 6c 20 4e 6f |osh Tech|nical No|
|000036a0| 74 65 20 22 43 6f 6c 6f | 72 2c 20 57 69 6e 64 6f |te "Colo|r, Windo|
|000036b0| 77 73 20 61 6e 64 20 37 | 2e 30 22 20 73 70 65 63 |ws and 7|.0" spec|
|000036c0| 69 66 69 65 73 20 74 68 | 65 20 75 73 65 20 6f 66 |ifies th|e use of|
|000036d0| 20 61 6c 6c 20 74 68 65 | 20 77 63 74 62 20 74 61 | all the| wctb ta|
|000036e0| 62 6c 65 20 63 6f 6d 70 | 6f 6e 65 6e 74 73 2c 20 |ble comp|onents, |
|000036f0| 62 75 74 20 69 6e 20 63 | 61 73 65 73 20 73 75 63 |but in c|ases suc|
|00003700| 68 20 61 73 20 74 68 65 | 20 74 69 74 6c 65 20 62 |h as the| title b|
|00003710| 61 72 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 61 6e |ar backg|round an|
|00003720| 64 20 73 63 72 6f 6c 6c | 20 62 61 72 73 2c 20 69 |d scroll| bars, i|
|00003730| 74 20 73 74 61 74 65 73 | 20 74 68 61 74 20 63 6f |t states| that co|
|00003740| 6c 6f 72 73 20 61 72 65 | 20 67 65 6e 65 72 61 74 |lors are| generat|
|00003750| 65 64 20 61 6c 67 6f 72 | 69 74 68 6d 69 63 61 6c |ed algor|ithmical|
|00003760| 6c 79 20 77 69 74 68 6f | 75 74 20 73 70 65 63 69 |ly witho|ut speci|
|00003770| 66 79 69 6e 67 20 74 68 | 65 20 61 6c 67 6f 72 69 |fying th|e algori|
|00003780| 74 68 6d 2e 57 68 61 74 | 20 69 73 20 74 68 65 20 |thm.What| is the |
|00003790| 61 6c 67 6f 72 69 74 68 | 6d 3f 20 49 73 20 69 74 |algorith|m? Is it|
|000037a0| 20 73 61 66 65 20 74 6f | 20 61 73 73 75 6d 65 20 | safe to| assume |
|000037b0| 74 68 61 74 20 69 74 d5 | 73 20 35 30 25 20 6f 66 |that it.|s 50% of|
|000037c0| 20 74 68 65 20 6c 69 67 | 68 74 20 61 6e 64 20 64 | the lig|ht and d|
|000037d0| 61 72 6b 20 63 6f 6d 70 | 6f 6e 65 6e 74 73 20 6f |ark comp|onents o|
|000037e0| 66 20 74 68 65 20 72 65 | 73 6f 75 72 63 65 3f 0d |f the re|source?.|
|000037f0| 5f 5f 5f 0d 41 20 6d 6f | 72 65 20 72 65 63 65 6e |___.A mo|re recen|
|00003800| 74 20 76 65 72 73 69 6f | 6e 20 6f 66 20 74 68 65 |t versio|n of the|
|00003810| 20 54 65 63 68 20 4e 6f | 74 65 20 64 65 73 63 72 | Tech No|te descr|
|00003820| 69 62 65 73 20 74 68 65 | 20 77 61 79 20 74 68 65 |ibes the| way the|
|00003830| 20 73 79 73 74 65 6d 20 | 57 44 45 46 20 64 65 74 | system |WDEF det|
|00003840| 65 72 6d 69 6e 65 73 20 | 63 6f 6c 6f 72 2e 20 54 |ermines |color. T|
|00003850| 68 65 20 74 72 69 63 6b | 20 69 73 20 74 6f 20 75 |he trick| is to u|
|00003860| 73 65 20 47 65 74 47 72 | 61 79 20 74 6f 20 64 65 |se GetGr|ay to de|
|00003870| 74 65 72 6d 69 6e 65 20 | 74 68 65 20 63 6f 6c 6f |termine |the colo|
|00003880| 72 20 66 72 6f 6d 20 74 | 68 65 20 74 77 6f 20 65 |r from t|he two e|
|00003890| 78 74 72 65 6d 65 73 20 | 61 76 61 69 6c 61 62 6c |xtremes |availabl|
|000038a0| 65 20 69 6e 20 74 68 65 | 20 63 6f 6c 6f 72 20 74 |e in the| color t|
|000038b0| 61 62 6c 65 20 66 6f 72 | 20 74 68 65 20 6d 6f 6e |able for| the mon|
|000038c0| 69 74 6f 72 20 6f 6e 20 | 77 68 69 63 68 20 74 68 |itor on |which th|
|000038d0| 65 20 77 69 6e 64 6f 77 | 20 69 73 20 67 6f 69 6e |e window| is goin|
|000038e0| 67 20 74 6f 20 61 70 70 | 65 61 72 2e 20 47 65 74 |g to app|ear. Get|
|000038f0| 47 72 61 79 20 69 73 20 | 64 65 73 63 72 69 62 65 |Gray is |describe|
|00003900| 64 20 69 6e 20 74 68 65 | 20 43 6f 6c 6f 72 20 51 |d in the| Color Q|
|00003910| 75 69 63 6b 44 72 61 77 | 20 73 65 63 74 69 6f 6e |uickDraw| section|
|00003920| 20 6f 66 20 49 6e 73 69 | 64 65 20 4d 61 63 69 6e | of Insi|de Macin|
|00003930| 74 6f 73 68 20 56 6f 6c | 75 6d 65 20 56 49 2e 20 |tosh Vol|ume VI. |
|00003940| 54 68 65 20 6c 61 74 65 | 73 74 20 44 65 76 65 6c |The late|st Devel|
|00003950| 6f 70 65 72 20 43 44 20 | 53 65 72 69 65 73 20 64 |oper CD |Series d|
|00003960| 69 73 63 20 68 61 73 20 | 74 68 65 20 73 79 73 74 |isc has |the syst|
|00003970| 65 6d 20 57 44 45 46 2c | 20 77 68 69 63 68 20 63 |em WDEF,| which c|
|00003980| 6f 75 6c 64 20 68 65 6c | 70 20 79 6f 75 20 69 6e |ould hel|p you in|
|00003990| 20 79 6f 75 72 20 77 6f | 72 6b 2e 20 54 68 65 20 | your wo|rk. The |
|000039a0| 70 61 74 68 20 74 6f 20 | 74 68 65 20 66 69 6c 65 |path to |the file|
|000039b0| 20 69 73 20 44 65 76 20 | 43 44 20 56 49 49 49 3a | is Dev |CD VIII:|
|000039c0| 20 54 6f 6f 6c 73 20 26 | 20 41 70 70 73 20 28 4d | Tools &| Apps (M|
|000039d0| 6f 6f 66 21 29 3a 4f 53 | 2f 54 6f 6f 6c 62 6f 78 |oof!):OS|/Toolbox|
|000039e0| 3a 20 53 79 73 74 65 6d | 20 37 20 57 44 45 46 2e |: System| 7 WDEF.|
|000039f0| 0d 44 65 74 61 63 68 69 | 6e 67 20 61 20 57 44 45 |.Detachi|ng a WDE|
|00003a00| 46 20 66 72 6f 6d 20 69 | 74 73 20 72 65 73 6f 75 |F from i|ts resou|
|00003a10| 72 63 65 20 66 69 6c 65 | 0d 44 61 74 65 20 57 72 |rce file|.Date Wr|
|00003a20| 69 74 74 65 6e 3a 20 20 | 31 32 2f 31 30 2f 39 31 |itten: |12/10/91|
|00003a30| 0d 4c 61 73 74 20 72 65 | 76 69 65 77 65 64 3a 20 |.Last re|viewed: |
|00003a40| 20 36 2f 31 34 2f 39 33 | 0d 57 65 20 73 6f 6d 65 | 6/14/93|.We some|
|00003a50| 74 69 6d 65 73 20 6e 65 | 65 64 20 74 6f 20 63 6c |times ne|ed to cl|
|00003a60| 6f 73 65 20 61 20 72 65 | 73 6f 75 72 63 65 20 66 |ose a re|source f|
|00003a70| 69 6c 65 20 77 68 69 6c | 65 20 73 74 69 6c 6c 20 |ile whil|e still |
|00003a80| 6b 65 65 70 69 6e 67 20 | 61 20 77 69 6e 64 6f 77 |keeping |a window|
|00003a90| 20 6f 70 65 6e 20 77 68 | 69 63 68 20 69 73 20 75 | open wh|ich is u|
|00003aa0| 73 69 6e 67 20 61 20 57 | 44 45 46 20 6c 6f 61 64 |sing a W|DEF load|
|00003ab0| 65 64 20 66 72 6f 6d 20 | 74 68 61 74 20 72 65 73 |ed from |that res|
|00003ac0| 6f 75 72 63 65 20 66 69 | 6c 65 2e 20 57 65 20 68 |ource fi|le. We h|
|00003ad0| 61 76 65 20 62 65 65 6e | 20 64 65 74 61 63 68 69 |ave been| detachi|
|00003ae0| 6e 67 20 74 68 65 20 57 | 44 45 46 20 72 65 73 6f |ng the W|DEF reso|
|00003af0| 75 72 63 65 2c 20 77 68 | 69 63 68 20 6d 65 61 6e |urce, wh|ich mean|
|00003b00| 73 20 74 68 61 74 20 74 | 68 65 20 57 44 45 46 20 |s that t|he WDEF |
|00003b10| 68 61 6e 64 6c 65 20 69 | 6e 20 74 68 65 20 77 69 |handle i|n the wi|
|00003b20| 6e 64 6f 77 20 72 65 63 | 6f 72 64 20 69 73 20 6e |ndow rec|ord is n|
|00003b30| 6f 20 6c 6f 6e 67 65 72 | 20 61 20 72 65 73 6f 75 |o longer| a resou|
|00003b40| 72 63 65 20 68 61 6e 64 | 6c 65 2e 20 57 68 61 74 |rce hand|le. What|
|00003b50| 20 70 72 6f 62 6c 65 6d | 73 20 61 72 65 20 77 65 | problem|s are we|
|00003b60| 20 6c 69 6b 65 6c 79 20 | 74 6f 20 68 61 76 65 20 | likely |to have |
|00003b70| 77 69 74 68 20 74 68 69 | 73 20 73 6f 6c 75 74 69 |with thi|s soluti|
|00003b80| 6f 6e 3f 0d 5f 5f 5f 0d | 59 6f 75 72 20 73 6f 6c |on?.___.|Your sol|
|00003b90| 75 74 69 6f 6e 20 69 73 | 20 71 75 69 74 65 20 61 |ution is| quite a|
|00003ba0| 64 65 71 75 61 74 65 2e | 20 41 66 74 65 72 20 61 |dequate.| After a|
|00003bb0| 20 77 69 6e 64 6f 77 20 | 69 73 20 63 72 65 61 74 | window |is creat|
|00003bc0| 65 64 2c 20 74 68 65 20 | 73 79 73 74 65 6d 20 68 |ed, the |system h|
|00003bd0| 61 73 20 6e 6f 20 66 75 | 72 74 68 65 72 20 6e 65 |as no fu|rther ne|
|00003be0| 65 64 20 74 6f 20 75 73 | 65 20 72 65 73 6f 75 72 |ed to us|e resour|
|00003bf0| 63 65 2d 6d 61 6e 69 70 | 75 6c 61 74 69 6f 6e 20 |ce-manip|ulation |
|00003c00| 63 61 6c 6c 73 20 6f 6e | 20 69 74 73 20 77 69 6e |calls on| its win|
|00003c10| 64 6f 77 20 64 65 66 69 | 6e 69 74 69 6f 6e 2e 20 |dow defi|nition. |
|00003c20| 41 73 20 6c 6f 6e 67 20 | 61 73 20 74 68 65 20 68 |As long |as the h|
|00003c30| 61 6e 64 6c 65 20 69 73 | 20 6e 6f 6e 70 75 72 67 |andle is| nonpurg|
|00003c40| 65 61 62 6c 65 2c 20 74 | 68 65 72 65 20 73 68 6f |eable, t|here sho|
|00003c50| 75 6c 64 20 62 65 20 6e | 6f 20 6e 65 65 64 20 74 |uld be n|o need t|
|00003c60| 6f 20 72 65 6c 6f 61 64 | 20 74 68 65 20 64 61 74 |o reload| the dat|
|00003c70| 61 2c 20 73 6f 20 74 68 | 65 20 54 6f 6f 6c 62 6f |a, so th|e Toolbo|
|00003c80| 78 20 73 68 6f 75 6c 64 | 20 62 65 20 71 75 69 74 |x should| be quit|
|00003c90| 65 20 63 6f 6e 74 65 6e | 74 20 77 69 74 68 20 74 |e conten|t with t|
|00003ca0| 68 61 74 20 73 74 61 74 | 65 20 6f 66 20 61 66 66 |hat stat|e of aff|
|00003cb0| 61 69 72 73 2e 0d 43 75 | 73 74 6f 6d 20 57 44 45 |airs..Cu|stom WDE|
|00003cc0| 46 73 20 69 6e 20 44 41 | 73 20 6e 6f 74 20 70 6f |Fs in DA|s not po|
|00003cd0| 73 73 69 62 6c 65 0d 44 | 61 74 65 20 57 72 69 74 |ssible.D|ate Writ|
|00003ce0| 74 65 6e 3a 20 20 33 2f | 33 30 2f 39 32 0d 4c 61 |ten: 3/|30/92.La|
|00003cf0| 73 74 20 72 65 76 69 65 | 77 65 64 3a 20 20 35 2f |st revie|wed: 5/|
|00003d00| 32 31 2f 39 32 0d 49 20 | 61 6d 20 77 72 69 74 69 |21/92.I |am writi|
|00003d10| 6e 67 20 61 20 44 41 20 | 74 68 61 74 20 75 73 65 |ng a DA |that use|
|00003d20| 73 20 61 20 63 75 73 74 | 6f 6d 20 57 44 45 46 2e |s a cust|om WDEF.|
|00003d30| 20 49 73 20 74 68 65 72 | 65 20 61 6e 79 20 77 61 | Is ther|e any wa|
|00003d40| 79 20 74 6f 20 67 65 74 | 20 61 20 77 69 6e 64 6f |y to get| a windo|
|00003d50| 77 20 74 6f 20 75 73 65 | 20 61 20 57 44 45 46 20 |w to use| a WDEF |
|00003d60| 74 68 61 74 20 69 73 20 | 61 6e 20 6f 77 6e 65 64 |that is |an owned|
|00003d70| 20 72 65 73 6f 75 72 63 | 65 3f 20 49 20 74 72 69 | resourc|e? I tri|
|00003d80| 65 64 20 67 69 76 69 6e | 67 20 74 68 65 20 57 44 |ed givin|g the WD|
|00003d90| 45 46 20 49 44 20 2d 31 | 36 30 30 30 20 28 44 52 |EF ID -1|6000 (DR|
|00003da0| 56 52 20 49 44 20 3d 20 | 31 32 2c 20 62 61 73 65 |VR ID = |12, base|
|00003db0| 20 49 44 20 30 29 20 61 | 6e 64 20 75 73 69 6e 67 | ID 0) a|nd using|
|00003dc0| 20 53 65 74 52 65 73 49 | 6e 66 6f 20 74 6f 20 63 | SetResI|nfo to c|
|00003dd0| 68 61 6e 67 65 20 74 68 | 65 20 57 44 45 46 d5 73 |hange th|e WDEF.s|
|00003de0| 20 49 44 2e 20 55 6e 66 | 6f 72 74 75 6e 61 74 65 | ID. Unf|ortunate|
|00003df0| 6c 79 2c 20 74 68 69 73 | 20 6f 6e 6c 79 20 77 6f |ly, this| only wo|
|00003e00| 72 6b 73 20 74 68 65 20 | 66 69 72 73 74 20 74 69 |rks the |first ti|
|00003e10| 6d 65 20 49 20 72 75 6e | 20 74 68 65 20 44 41 2e |me I run| the DA.|
|00003e20| 20 49 20 68 61 76 65 20 | 61 6c 73 6f 20 74 72 69 | I have |also tri|
|00003e30| 65 64 20 74 6f 20 75 73 | 65 20 41 64 64 52 65 73 |ed to us|e AddRes|
|00003e40| 6f 75 72 63 65 2e 20 54 | 68 69 73 20 69 6e 76 61 |ource. T|his inva|
|00003e50| 72 69 61 62 6c 79 20 66 | 61 69 6c 73 20 77 69 74 |riably f|ails wit|
|00003e60| 68 20 52 65 73 45 72 72 | 6f 72 20 3d 20 2d 31 39 |h ResErr|or = -19|
|00003e70| 34 2e 20 43 61 6e 20 79 | 6f 75 20 73 75 67 67 65 |4. Can y|ou sugge|
|00003e80| 73 74 20 61 6e 79 20 77 | 61 79 20 74 6f 20 67 65 |st any w|ay to ge|
|00003e90| 74 20 74 68 69 73 20 74 | 6f 20 77 6f 72 6b 2c 20 |t this t|o work, |
|00003ea0| 6f 74 68 65 72 20 74 68 | 61 6e 20 62 79 20 75 73 |other th|an by us|
|00003eb0| 69 6e 67 20 61 6e 20 49 | 6e 73 74 61 6c 6c 65 72 |ing an I|nstaller|
|00003ec0| 20 74 6f 20 70 75 74 20 | 74 68 65 20 57 44 45 46 | to put |the WDEF|
|00003ed0| 20 69 6e 74 6f 20 74 68 | 65 20 75 73 65 72 d5 73 | into th|e user.s|
|00003ee0| 20 53 79 73 74 65 6d 20 | 66 69 6c 65 20 77 68 65 | System |file whe|
|00003ef0| 6e 20 69 6e 73 74 61 6c | 6c 61 74 69 6f 6e 20 74 |n instal|lation t|
|00003f00| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 3f 0d |he appli|cation?.|
|00003f10| 5f 5f 5f 0d 54 68 65 20 | 6f 77 6e 65 64 20 72 65 |___.The |owned re|
|00003f20| 73 6f 75 72 63 65 20 6d | 65 63 68 61 6e 69 73 6d |source m|echanism|
|00003f30| 20 61 6e 64 20 74 68 65 | 20 57 44 45 46 20 6e 75 | and the| WDEF nu|
|00003f40| 6d 62 65 72 69 6e 67 20 | 73 63 68 65 6d 65 20 63 |mbering |scheme c|
|00003f50| 6f 6e 66 6c 69 63 74 73 | 20 69 6e 20 73 75 63 68 |onflicts| in such|
|00003f60| 20 61 20 77 61 79 20 74 | 68 61 74 20 69 74 d5 73 | a way t|hat it.s|
|00003f70| 20 6e 6f 74 20 70 6f 73 | 73 69 62 6c 65 20 74 6f | not pos|sible to|
|00003f80| 20 69 6e 63 6c 75 64 65 | 20 63 75 73 74 6f 6d 20 | include| custom |
|00003f90| 57 44 45 46 73 20 69 6e | 20 44 41 73 2c 20 73 69 |WDEFs in| DAs, si|
|00003fa0| 6e 63 65 20 74 68 65 20 | 44 41 20 6d 6f 76 65 72 |nce the |DA mover|
|00003fb0| 20 77 69 6c 6c 20 6e 6f | 74 20 6d 6f 76 65 20 74 | will no|t move t|
|00003fc0| 68 65 6d 20 75 6e 6c 65 | 73 73 20 74 68 65 79 20 |hem unle|ss they |
|00003fd0| 61 72 65 20 69 6e 20 74 | 68 65 20 6f 77 6e 65 64 |are in t|he owned|
|00003fe0| 20 72 65 73 6f 75 72 63 | 65 20 72 61 6e 67 65 20 | resourc|e range |
|00003ff0| 61 6e 64 20 74 68 65 20 | 57 44 45 46 20 6e 75 6d |and the |WDEF num|
|00004000| 62 65 72 69 6e 67 20 73 | 63 68 65 6d 65 20 64 6f |bering s|cheme do|
|00004010| 65 73 20 6e 6f 74 20 70 | 65 72 6d 69 74 20 74 68 |es not p|ermit th|
|00004020| 69 73 2e 20 54 68 65 72 | 65 d5 73 20 62 61 73 69 |is. Ther|e.s basi|
|00004030| 63 61 6c 6c 79 20 6e 6f | 20 77 6f 72 6b 61 72 6f |cally no| workaro|
|00004040| 75 6e 64 20 74 6f 20 74 | 68 69 73 2e 20 49 6e 73 |und to t|his. Ins|
|00004050| 74 61 6c 6c 69 6e 67 20 | 79 6f 75 72 20 57 44 45 |talling |your WDE|
|00004060| 46 20 69 6e 20 74 68 65 | 20 73 79 73 74 65 6d 20 |F in the| system |
|00004070| 64 69 72 65 63 74 6c 79 | 20 63 6f 75 6c 64 20 63 |directly| could c|
|00004080| 61 75 73 65 20 6e 75 6d | 62 65 72 69 6e 67 20 63 |ause num|bering c|
|00004090| 6f 6e 66 6c 69 63 74 73 | 20 77 69 74 68 20 61 64 |onflicts| with ad|
|000040a0| 64 69 74 69 6f 6e 61 6c | 20 57 44 45 46 73 20 69 |ditional| WDEFs i|
|000040b0| 6e 20 66 75 74 75 72 65 | 20 73 79 73 74 65 6d 73 |n future| systems|
|000040c0| 20 6f 72 20 6f 74 68 65 | 72 20 44 41 73 20 64 6f | or othe|r DAs do|
|000040d0| 69 6e 67 20 74 68 65 20 | 73 61 6d 65 20 74 68 69 |ing the |same thi|
|000040e0| 6e 67 2e 20 54 68 69 73 | 20 69 73 20 74 68 65 20 |ng. This| is the |
|000040f0| 72 65 61 73 6f 6e 20 66 | 6f 72 20 68 61 76 69 6e |reason f|or havin|
|00004100| 67 20 6f 77 6e 65 64 20 | 72 65 73 6f 75 72 63 65 |g owned |resource|
|00004110| 73 2e 0d 4d 61 63 69 6e | 74 6f 73 68 20 44 41 20 |s..Macin|tosh DA |
|00004120| 77 69 74 68 20 63 75 73 | 74 6f 6d 20 27 57 44 45 |with cus|tom 'WDE|
|00004130| 46 27 0d 44 61 74 65 20 | 57 72 69 74 74 65 6e 3a |F'.Date |Written:|
|00004140| 20 20 37 2f 32 34 2f 39 | 30 0d 4c 61 73 74 20 72 | 7/24/9|0.Last r|
|00004150| 65 76 69 65 77 65 64 3a | 20 20 36 2f 31 34 2f 39 |eviewed:| 6/14/9|
|00004160| 33 0d 49 73 20 69 74 20 | 61 63 63 65 70 74 61 62 |3.Is it |acceptab|
|00004170| 6c 65 20 74 6f 20 77 72 | 69 74 65 20 61 6e 20 69 |le to wr|ite an i|
|00004180| 6e 73 74 61 6c 6c 61 74 | 69 6f 6e 20 70 72 6f 67 |nstallat|ion prog|
|00004190| 72 61 6d 20 66 6f 72 20 | 61 20 44 41 20 74 68 61 |ram for |a DA tha|
|000041a0| 74 20 75 73 65 73 20 61 | 20 63 75 73 74 6f 6d 20 |t uses a| custom |
|000041b0| 27 57 44 45 46 27 3f 20 | 54 68 65 20 46 6f 6e 74 |'WDEF'? |The Font|
|000041c0| 2f 44 41 20 4d 6f 76 65 | 72 20 77 6f 6e d5 74 20 |/DA Move|r won.t |
|000041d0| 69 6e 73 74 61 6c 6c 20 | 61 20 27 57 44 45 46 27 |install |a 'WDEF'|
|000041e0| 20 62 65 63 61 75 73 65 | 20 74 68 65 20 27 57 44 | because| the 'WD|
|000041f0| 45 46 27 20 63 61 6e 6e | 6f 74 20 62 65 20 61 6e |EF' cann|ot be an|
|00004200| 20 6f 77 6e 65 64 20 72 | 65 73 6f 75 72 63 65 2e | owned r|esource.|
|00004210| 0d 5f 5f 5f 0d 41 6c 74 | 68 6f 75 67 68 20 74 68 |.___.Alt|hough th|
|00004220| 65 20 6f 77 6e 65 64 20 | 72 65 73 6f 75 72 63 65 |e owned |resource|
|00004230| 20 6d 65 63 68 61 6e 69 | 73 6d 20 61 6e 64 20 74 | mechani|sm and t|
|00004240| 68 65 20 27 57 44 45 46 | 27 20 49 44 20 77 69 74 |he 'WDEF|' ID wit|
|00004250| 68 20 76 61 72 69 61 74 | 69 6f 6e 20 63 6f 64 65 |h variat|ion code|
|00004260| 20 61 72 65 20 64 69 72 | 65 63 74 6c 79 20 69 6e | are dir|ectly in|
|00004270| 63 6f 6d 70 61 74 69 62 | 6c 65 20 77 69 74 68 20 |compatib|le with |
|00004280| 65 61 63 68 20 6f 74 68 | 65 72 2c 20 69 74 20 69 |each oth|er, it i|
|00004290| 73 20 61 20 73 69 6d 70 | 6c 65 20 6d 61 74 74 65 |s a simp|le matte|
|000042a0| 72 20 74 6f 20 77 6f 72 | 6b 20 61 72 6f 75 6e 64 |r to wor|k around|
|000042b0| 20 74 68 69 73 20 70 72 | 6f 62 6c 65 6d 20 77 69 | this pr|oblem wi|
|000042c0| 74 68 20 6a 75 73 74 20 | 61 20 6c 69 74 74 6c 65 |th just |a little|
|000042d0| 20 63 6f 64 65 2e 0d 46 | 69 72 73 74 2c 20 6e 75 | code..F|irst, nu|
|000042e0| 6d 62 65 72 20 79 6f 75 | 72 20 27 57 44 45 46 27 |mber you|r 'WDEF'|
|000042f0| 20 72 65 73 6f 75 72 63 | 65 20 61 73 20 61 6e 20 | resourc|e as an |
|00004300| 6f 77 6e 65 64 20 72 65 | 73 6f 75 72 63 65 2c 20 |owned re|source, |
|00004310| 66 6f 6c 6c 6f 77 69 6e | 67 20 74 68 65 20 69 6e |followin|g the in|
|00004320| 73 74 72 75 63 74 69 6f | 6e 73 20 6f 6e 20 70 61 |structio|ns on pa|
|00004330| 67 65 20 31 30 39 20 6f | 66 20 49 6e 73 69 64 65 |ge 109 o|f Inside|
|00004340| 20 4d 61 63 69 6e 74 6f | 73 68 20 56 6f 6c 75 6d | Macinto|sh Volum|
|00004350| 65 20 49 2e 20 54 68 69 | 73 20 77 69 6c 6c 20 61 |e I. Thi|s will a|
|00004360| 6c 6c 6f 77 20 79 6f 75 | 72 20 75 73 65 72 73 20 |llow you|r users |
|00004370| 74 6f 20 73 69 6d 70 6c | 79 20 75 73 65 20 74 68 |to simpl|y use th|
|00004380| 65 20 44 41 2f 46 6f 6e | 74 20 4d 6f 76 65 72 20 |e DA/Fon|t Mover |
|00004390| 74 6f 20 69 6e 73 74 61 | 6c 6c 2f 64 65 69 6e 73 |to insta|ll/deins|
|000043a0| 74 61 6c 6c 20 79 6f 75 | 72 20 44 41 20 61 6e 64 |tall you|r DA and|
|000043b0| 20 65 6c 69 6d 69 6e 61 | 74 65 20 74 68 65 20 6e | elimina|te the n|
|000043c0| 65 65 64 20 66 6f 72 20 | 79 6f 75 20 74 6f 20 64 |eed for |you to d|
|000043d0| 6f 20 61 20 63 75 73 74 | 6f 6d 20 69 6e 73 74 61 |o a cust|om insta|
|000043e0| 6c 6c 65 72 20 77 69 74 | 68 20 61 6c 6c 20 74 68 |ller wit|h all th|
|000043f0| 65 20 70 72 6f 62 6c 65 | 6d 73 20 74 68 61 74 20 |e proble|ms that |
|00004400| 69 6e 76 6f 6c 76 65 73 | 2e 0d 4e 65 78 74 2c 20 |involves|..Next, |
|00004410| 77 68 65 6e 20 79 6f 75 | 20 6f 70 65 6e 20 61 20 |when you| open a |
|00004420| 77 69 6e 64 6f 77 20 74 | 68 61 74 20 6e 65 65 64 |window t|hat need|
|00004430| 73 20 79 6f 75 72 20 63 | 75 73 74 6f 6d 20 27 57 |s your c|ustom 'W|
|00004440| 44 45 46 27 2c 20 6f 70 | 65 6e 20 69 74 20 d2 69 |DEF', op|en it .i|
|00004450| 6e 76 69 73 69 62 6c 65 | d3 20 61 6e 64 20 77 69 |nvisible|. and wi|
|00004460| 74 68 20 61 20 73 74 61 | 6e 64 61 72 64 20 62 75 |th a sta|ndard bu|
|00004470| 69 6c 74 2d 69 6e 20 27 | 57 44 45 46 27 20 70 72 |ilt-in '|WDEF' pr|
|00004480| 6f 63 65 64 75 72 65 20 | 49 44 3b 20 47 65 74 52 |ocedure |ID; GetR|
|00004490| 65 73 6f 75 72 63 65 20 | 74 68 65 20 27 57 44 45 |esource |the 'WDE|
|000044a0| 46 27 20 72 65 73 6f 75 | 72 63 65 20 68 61 6e 64 |F' resou|rce hand|
|000044b0| 6c 65 20 79 6f 75 72 73 | 65 6c 66 20 61 6e 64 20 |le yours|elf and |
|000044c0| 73 74 6f 72 65 20 74 68 | 65 20 68 61 6e 64 6c 65 |store th|e handle|
|000044d0| 20 69 6e 74 6f 20 74 68 | 65 20 77 69 6e 64 6f 77 | into th|e window|
|000044e0| 44 65 66 50 72 6f 63 20 | 66 69 65 6c 64 20 6f 66 |DefProc |field of|
|000044f0| 20 74 68 65 20 77 69 6e | 64 6f 77 20 72 65 63 6f | the win|dow reco|
|00004500| 72 64 2e 20 49 74 73 20 | d2 6f 77 6e 65 64 d3 20 |rd. Its |.owned. |
|00004510| 72 65 73 6f 75 72 63 65 | 20 49 44 20 69 73 20 63 |resource| ID is c|
|00004520| 61 6c 63 75 6c 61 74 65 | 64 20 66 72 6f 6d 20 74 |alculate|d from t|
|00004530| 68 65 20 44 41 d5 73 20 | 69 6e 73 74 61 6c 6c 65 |he DA.s |installe|
|00004540| 64 20 64 72 69 76 65 72 | 20 75 6e 69 74 20 6e 75 |d driver| unit nu|
|00004550| 6d 62 65 72 2c 20 64 43 | 74 6c 52 65 66 4e 75 6d |mber, dC|tlRefNum|
|00004560| 2e 20 4e 6f 74 65 3a 20 | 61 20 72 65 66 4e 75 6d |. Note: |a refNum|
|00004570| 20 6f 66 20 2d 34 20 69 | 73 20 61 20 75 6e 69 74 | of -4 i|s a unit|
|00004580| 20 6e 75 6d 62 65 72 20 | 6f 66 20 33 2e 20 53 65 | number |of 3. Se|
|00004590| 65 20 49 6e 73 69 64 65 | 20 4d 61 63 69 6e 74 6f |e Inside| Macinto|
|000045a0| 73 68 20 56 6f 6c 75 6d | 65 20 49 49 2c 20 70 61 |sh Volum|e II, pa|
|000045b0| 67 65 20 31 39 31 2c 20 | 66 6f 72 20 64 65 74 61 |ge 191, |for deta|
|000045c0| 69 6c 73 2e 0d 46 69 6e | 61 6c 6c 79 2c 20 73 68 |ils..Fin|ally, sh|
|000045d0| 6f 77 20 79 6f 75 72 20 | 77 69 6e 64 6f 77 20 61 |ow your |window a|
|000045e0| 6e 64 20 69 74 20 73 68 | 6f 75 6c 64 20 62 65 20 |nd it sh|ould be |
|000045f0| 64 72 61 77 6e 20 75 73 | 69 6e 67 20 74 68 65 20 |drawn us|ing the |
|00004600| 63 75 73 74 6f 6d 20 27 | 57 44 45 46 27 2e 0d 13 |custom '|WDEF'...|
|00004610| a6 00 00 00 00 02 d7 02 | 23 00 11 02 ff 0c 00 ff |........|#.......|
|00004620| ff ff ff 00 00 00 00 00 | 00 00 00 02 23 00 00 02 |........|....#...|
|00004630| d7 00 00 00 00 00 00 00 | a0 00 82 00 1e 00 0c 00 |........|........|
|00004640| 1e 00 1f 00 01 00 0a 00 | 36 00 5a 00 88 02 23 00 |........|6.Z...#.|
|00004650| 07 00 00 00 00 00 08 00 | 0a 00 09 30 49 88 3a b5 |........|...0I.:.|
|00004660| 9c f0 39 00 22 00 82 02 | 1a 00 00 00 09 ff ff ff |..9."...|........|
|00004670| ff ff ff ff ff 00 23 00 | 00 00 a0 00 c4 00 a1 00 |......#.|........|
|00004680| 64 00 0a 4f 4e 4c 4e 00 | 66 00 00 01 fe 00 a0 00 |d..ONLN.|f.......|
|00004690| 8c 00 a1 00 64 00 31 64 | 72 77 32 00 02 01 c9 00 |....d.1d|rw2.....|
|000046a0| 2d 01 e1 01 5f 00 00 80 | 00 00 00 00 00 00 00 00 |-..._...|........|
|000046b0| 00 00 00 00 00 00 00 00 | 00 ff ff ff ff ff ff 00 |........|........|
|000046c0| 01 00 00 01 8f 00 00 00 | 00 00 a1 00 96 00 0c 01 |........|........|
|000046d0| 00 00 00 02 78 00 00 00 | 00 00 00 00 a1 00 64 00 |....x...|......d.|
|000046e0| 10 64 72 77 32 00 3a 00 | 05 00 00 00 00 00 01 00 |.drw2.:.|........|
|000046f0| 00 00 a1 00 64 00 0e 64 | 72 77 32 00 3a 00 02 00 |....d..d|rw2.:...|
|00004700| 24 00 00 00 00 00 a1 00 | 64 00 34 64 72 77 32 00 |$.......|d.4drw2.|
|00004710| 3a 00 01 00 03 01 00 00 | 18 00 00 00 00 00 00 00 |:.......|........|
|00004720| 00 00 00 00 01 00 01 00 | 01 00 01 00 00 00 00 00 |........|........|
|00004730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004740| a1 00 9a 00 08 ff fa 00 | 00 00 97 40 00 00 a0 00 |........|...@....|
|00004750| 98 00 2c 00 08 00 14 05 | 54 69 6d 65 73 00 03 00 |..,.....|Times...|
|00004760| 14 00 04 01 00 00 0d 00 | 18 00 2e 00 04 00 00 01 |........|........|
|00004770| 00 00 10 00 52 01 c9 00 | 52 01 c9 00 2b 5d 49 13 |....R...|R...+]I.|
|00004780| 4e 65 77 20 54 65 63 68 | 6e 69 63 61 6c 20 4e 6f |New Tech|nical No|
|00004790| 74 65 73 00 a0 00 99 00 | a1 00 64 00 08 64 72 77 |tes.....|..d..drw|
|000047a0| 32 00 3a 00 04 00 a1 14 | e3 00 02 00 01 00 a0 00 |2.:.....|........|
|000047b0| 97 00 a1 00 64 00 31 64 | 72 77 32 00 02 02 06 01 |....d.1d|rw2.....|
|000047c0| 65 02 19 01 f4 00 00 80 | 00 00 00 00 00 00 00 00 |e.......|........|
|000047d0| 00 00 00 00 00 00 00 00 | 00 ff ff ff ff ff ff 00 |........|........|
|000047e0| 01 00 00 01 50 00 00 00 | 00 00 a1 00 96 00 0c 01 |....P...|........|
|000047f0| 00 00 00 02 78 00 00 00 | 00 00 00 00 a1 00 64 00 |....x...|......d.|
|00004800| 10 64 72 77 32 00 3a 00 | 05 00 00 00 00 00 01 00 |.drw2.:.|........|
|00004810| 00 00 a1 00 64 00 0e 64 | 72 77 32 00 3a 00 02 00 |....d..d|rw2.:...|
|00004820| 24 00 00 00 00 00 a1 00 | 64 00 34 64 72 77 32 00 |$.......|d.4drw2.|
|00004830| 3a 00 01 00 03 00 00 00 | 12 00 00 00 00 00 00 00 |:.......|........|
|00004840| 00 00 00 00 01 00 01 00 | 01 00 01 00 00 00 00 00 |........|........|
|00004850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004860| a1 00 9a 00 08 ff fb 80 | 00 00 45 c0 00 00 a0 00 |........|..E.....|
|00004870| 98 00 04 00 00 00 0d 00 | 12 00 28 00 82 01 95 11 |........|..(.....|
|00004880| 44 65 76 65 6c 6f 70 65 | 72 20 53 75 70 70 6f 72 |Develope|r Suppor|
|00004890| 74 00 a0 00 99 00 a1 00 | 64 00 08 64 72 77 32 00 |t.......|d..drw2.|
|000048a0| 3a 00 04 00 a1 14 e3 00 | 02 00 01 00 a0 00 97 00 |:.......|........|
|000048b0| a1 00 64 00 60 64 72 77 | 32 00 03 02 00 00 2d 02 |..d.`drw|2.....-.|
|000048c0| 00 01 ef 00 00 00 00 00 | 00 00 00 02 02 00 00 00 |........|........|
|000048d0| 00 00 00 00 00 00 00 ff | ff ff ff ff ff 00 01 00 |........|........|
|000048e0| 01 08 4b 00 00 00 00 02 | 00 01 ef 02 00 00 2d 00 |..K.....|......-.|
|000048f0| 00 00 00 00 00 00 00 00 | 01 00 14 00 0c 00 03 00 |........|........|
|00004900| 02 00 00 00 5a 00 01 00 | 00 00 02 00 00 00 03 00 |....Z...|........|
|00004910| 0c 00 00 00 00 00 07 00 | 02 00 02 00 08 00 08 00 |........|........|
|00004920| 20 00 6d 02 1c 00 6d 00 | 5a 00 a1 00 64 00 31 64 | .m...m.|Z...d.1d|
|00004930| 72 77 32 00 02 01 ca 01 | c0 01 fa 01 e9 00 00 00 |rw2.....|........|
|00004940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004950| 00 ff ff ff ff ff ff 00 | 01 00 00 01 4b 00 00 00 |........|....K...|
|00004960| 00 00 a1 00 96 00 0c 01 | 00 00 00 02 78 00 00 00 |........|....x...|
|00004970| 00 00 00 00 a1 00 64 00 | 10 64 72 77 32 00 3a 00 |......d.|.drw2.:.|
|00004980| 05 00 00 00 00 00 01 00 | 00 00 a1 00 64 00 0e 64 |........|....d..d|
|00004990| 72 77 32 00 3a 00 02 00 | 24 00 00 00 00 00 a1 00 |rw2.:...|$.......|
|000049a0| 64 00 34 64 72 77 32 00 | 3a 00 01 00 03 00 00 00 |d.4drw2.|:.......|
|000049b0| 30 00 00 00 00 00 00 00 | 00 00 00 00 01 00 01 00 |0.......|........|
|000049c0| 01 00 01 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049d0| 00 00 00 00 00 00 00 00 | a1 00 9a 00 08 ff f4 00 |........|........|
|000049e0| 00 00 13 80 00 00 a0 00 | 98 00 0d 00 30 00 28 00 |........|....0.(.|
|000049f0| 5c 01 ef 01 f0 00 a0 00 | 99 00 a1 00 64 00 08 64 |\.......|....d..d|
|00004a00| 72 77 32 00 3a 00 04 00 | a1 14 e3 00 02 00 01 00 |rw2.:...|........|
|00004a10| a0 00 97 00 a1 00 64 00 | 31 64 72 77 32 00 02 01 |......d.|1drw2...|
|00004a20| ef 01 e6 01 fa 01 f0 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a30| 00 00 00 00 00 00 00 00 | 00 00 00 ff ff ff ff ff |........|........|
|00004a40| ff 00 01 00 00 01 00 00 | 00 00 00 00 a1 00 96 00 |........|........|
|00004a50| 0c 01 00 00 00 02 78 00 | 00 00 00 00 00 00 a1 00 |......x.|........|
|00004a60| 64 00 10 64 72 77 32 00 | 3a 00 05 00 00 00 00 00 |d..drw2.|:.......|
|00004a70| 01 00 00 00 a1 00 64 00 | 0e 64 72 77 32 00 3a 00 |......d.|.drw2.:.|
|00004a80| 02 00 24 00 00 00 00 00 | a1 00 64 00 34 64 72 77 |..$.....|..d.4drw|
|00004a90| 32 00 3a 00 01 00 03 00 | 00 00 09 00 00 00 00 00 |2.:.....|........|
|00004aa0| 00 00 00 00 00 00 01 00 | 01 00 01 00 01 00 00 00 |........|........|
|00004ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ac0| 00 00 a1 00 9a 00 08 ff | fd 80 00 00 04 00 00 00 |........|........|
|00004ad0| a0 00 98 00 0d 00 09 00 | 2b 26 09 01 a8 00 a0 00 |........|+&......|
|00004ae0| 99 00 a1 00 64 00 08 64 | 72 77 32 00 3a 00 04 00 |....d..d|rw2.:...|
|00004af0| a1 14 e3 00 02 00 01 00 | a0 00 97 00 a1 00 64 00 |........|......d.|
|00004b00| 31 64 72 77 32 00 02 01 | e5 00 2d 01 f8 00 79 00 |1drw2...|..-...y.|
|00004b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b20| 00 00 00 ff ff ff ff ff | ff 00 01 00 01 01 00 00 |........|........|
|00004b30| 00 01 00 00 a1 00 96 00 | 0c 01 00 00 00 02 78 00 |........|......x.|
|00004b40| 00 00 00 00 00 00 a1 00 | 64 00 10 64 72 77 32 00 |........|d..drw2.|
|00004b50| 3a 00 05 00 00 00 00 00 | 01 00 00 00 a1 00 64 00 |:.......|......d.|
|00004b60| 0e 64 72 77 32 00 3a 00 | 02 00 24 00 00 00 00 00 |.drw2.:.|..$.....|
|00004b70| a1 00 64 00 34 64 72 77 | 32 00 3a 00 01 00 03 00 |..d.4drw|2.:.....|
|00004b80| 00 00 12 00 00 00 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|00004b90| 01 00 01 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ba0| 00 00 00 00 00 00 00 00 | 00 00 a1 00 9a 00 08 ff |........|........|
|00004bb0| fb 80 00 00 25 00 00 00 | a0 00 98 00 0d 00 12 00 |....%...|........|
|00004bc0| 28 00 61 00 5c 09 4d 61 | 63 69 6e 74 6f 73 68 00 |(.a.\.Ma|cintosh.|
|00004bd0| a0 00 99 00 a1 00 64 00 | 08 64 72 77 32 00 3a 00 |......d.|.drw2.:.|
|00004be0| 04 00 a1 14 e3 00 02 00 | 01 00 a0 00 97 00 a0 00 |........|........|
|00004bf0| 8d 00 a1 00 64 00 06 64 | 72 77 32 00 44 00 a0 00 |....d..d|rw2.D...|
|00004c00| 83 00 01 00 0a 00 00 00 | 00 03 49 02 52 00 04 01 |........|..I.R...|
|00004c10| 00 00 2e 00 04 00 00 00 | 00 00 10 00 01 00 01 00 |........|........|
|00004c20| 01 00 01 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |......d.|.ONLN.d.|
|00004c30| 00 00 75 00 3c 00 88 01 | 56 00 28 00 a2 00 5a 1c |..u.<...|V.(...Z.|
|00004c40| 54 42 20 35 37 35 20 2d | 20 57 69 6e 64 6f 77 20 |TB 575 -| Window |
|00004c50| 4d 61 6e 61 67 65 72 20 | 51 26 41 73 00 00 0d 00 |Manager |Q&As....|
|00004c60| 0e 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 1d 00 |....d..O|NLN.d...|
|00004c70| 87 00 3c 00 96 00 73 00 | 2a 10 07 54 6f 6f 6c 62 |..<...s.|*..Toolb|
|00004c80| 6f 78 00 00 04 00 00 00 | 0d 00 0c 00 a1 00 64 00 |ox......|......d.|
|00004c90| 10 4f 4e 4c 4e 00 64 00 | 26 00 a2 00 3c 00 ae 00 |.ONLN.d.|&...<...|
|00004ca0| 74 00 2a 18 0b 52 65 76 | 69 73 65 64 20 62 79 3a |t.*..Rev|ised by:|
|00004cb0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 32 00 |....d..O|NLN.d.2.|
|00004cc0| a2 00 84 00 ae 00 b9 00 | 29 48 0a 52 6f 6e 20 4c |........|)H.Ron L|
|00004cd0| 69 63 68 74 79 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |ichty...|d..ONLN.|
|00004ce0| 64 00 3d 00 a2 01 b1 00 | ae 01 fe 00 28 00 ca 01 |d.=.....|....(...|
|00004cf0| cf 0d 4e 6f 76 65 6d 62 | 65 72 20 31 39 39 33 00 |..Novemb|er 1993.|
|00004d00| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 4b 00 ae 00 |..d..ONL|N.d.K...|
|00004d10| 3c 00 ba 00 71 00 28 00 | d6 00 5a 0b 57 72 69 74 |<...q.(.|..Z.Writ|
|00004d20| 74 65 6e 20 62 79 3a 00 | a1 00 64 00 10 4f 4e 4c |ten by:.|..d..ONL|
|00004d30| 4e 00 64 00 57 00 ae 00 | 84 00 ba 00 ff 00 29 48 |N.d.W...|......)H|
|00004d40| 18 44 65 76 65 6c 6f 70 | 65 72 20 53 75 70 70 6f |.Develop|er Suppo|
|00004d50| 72 74 20 43 65 6e 74 65 | 72 00 a1 00 64 00 10 4f |rt Cente|r...d..O|
|00004d60| 4e 4c 4e 00 64 00 70 00 | ae 01 be 00 ba 01 fe 00 |NLN.d.p.|........|
|00004d70| 28 00 d6 01 dc 0c 4f 63 | 74 6f 62 65 72 20 31 39 |(.....Oc|tober 19|
|00004d80| 39 30 00 00 06 00 02 00 | 00 00 a1 00 64 00 10 4f |90......|....d..O|
|00004d90| 4e 4c 4e 00 64 00 7d 00 | c6 00 3c 00 d2 00 da 00 |NLN.d.}.|..<.....|
|00004da0| 28 00 ee 00 5a 1f 54 68 | 69 73 20 54 65 63 68 6e |(...Z.Th|is Techn|
|00004db0| 69 63 61 6c 20 4e 6f 74 | 65 20 63 6f 6e 74 61 69 |ical Not|e contai|
|00004dc0| 6e 73 20 61 20 00 06 00 | 03 00 00 00 a1 00 64 00 |ns a ...|......d.|
|00004dd0| 10 4f 4e 4c 4e 00 64 00 | 9c 00 c6 00 da 00 d2 01 |.ONLN.d.|........|
|00004de0| fe 00 29 9e 39 63 6f 6c | 6c 65 63 74 69 6f 6e 20 |..).9col|lection |
|00004df0| 6f 66 20 51 26 41 73 20 | 72 65 6c 61 74 69 6e 67 |of Q&As |relating|
|00004e00| 20 74 6f 20 61 20 73 70 | 65 63 69 66 69 63 20 74 | to a sp|ecific t|
|00004e10| 6f 70 69 63 d1 71 75 65 | 73 74 69 6f 6e 73 00 00 |opic.que|stions..|
|00004e20| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00004e30| 64 00 d6 00 d2 00 3c 00 | de 01 a0 00 28 00 fa 00 |d.....<.|....(...|
|00004e40| 5a 47 79 6f 75 d5 76 65 | 20 73 65 6e 74 20 74 68 |ZGyou.ve| sent th|
|00004e50| 65 20 44 65 76 65 6c 6f | 70 65 72 20 53 75 70 70 |e Develo|per Supp|
|00004e60| 6f 72 74 20 43 65 6e 74 | 65 72 20 28 44 53 43 29 |ort Cent|er (DSC)|
|00004e70| 20 61 6c 6f 6e 67 20 77 | 69 74 68 20 61 6e 73 77 | along w|ith answ|
|00004e80| 65 72 73 20 66 72 6f 6d | 20 00 06 00 01 00 00 00 |ers from| .......|
|00004e90| a1 00 64 00 10 4f 4e 4c | 4e 00 64 01 1d 00 d2 01 |..d..ONL|N.d.....|
|00004ea0| a0 00 de 01 fe 00 28 00 | fa 01 be 12 74 68 65 20 |......(.|....the |
|00004eb0| 44 53 43 20 65 6e 67 69 | 6e 65 65 72 73 2e 00 00 |DSC engi|neers...|
|00004ec0| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00004ed0| 64 01 30 00 de 00 3c 00 | ea 00 75 00 28 01 06 00 |d.0...<.|..u.(...|
|00004ee0| 5a 0a 57 68 69 6c 65 20 | 44 53 43 20 00 00 06 00 |Z.While |DSC ....|
|00004ef0| 01 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 01 |......d.|.ONLN.d.|
|00004f00| 3a 00 de 00 75 00 ea 01 | fe 00 29 39 4c 65 6e 67 |:...u...|..)9Leng|
|00004f10| 69 6e 65 65 72 73 20 68 | 61 76 65 20 63 68 65 63 |ineers h|ave chec|
|00004f20| 6b 65 64 20 74 68 65 20 | 51 26 41 20 63 6f 6e 74 |ked the |Q&A cont|
|00004f30| 65 6e 74 20 66 6f 72 20 | 61 63 63 75 72 61 63 79 |ent for |accuracy|
|00004f40| 2c 20 74 68 65 20 51 26 | 41 20 54 65 63 68 6e 69 |, the Q&|A Techni|
|00004f50| 63 61 6c 20 4e 6f 74 65 | 73 00 06 00 00 00 00 00 |cal Note|s.......|
|00004f60| a1 00 64 00 10 4f 4e 4c | 4e 00 64 01 87 00 ea 00 |..d..ONL|N.d.....|
|00004f70| 3c 00 f6 00 71 00 28 01 | 12 00 5a 0b 64 6f 6e d5 |<...q.(.|..Z.don.|
|00004f80| 74 20 68 61 76 65 20 00 | 06 00 01 00 00 00 a1 00 |t have .|........|
|00004f90| 64 00 10 4f 4e 4c 4e 00 | 64 01 92 00 ea 00 71 00 |d..ONLN.|d.....q.|
|00004fa0| f6 01 fe 00 29 35 51 74 | 68 65 20 65 64 69 74 69 |....)5Qt|he editi|
|00004fb0| 6e 67 20 61 6e 64 20 6f | 72 67 61 6e 69 7a 61 74 |ng and o|rganizat|
|00004fc0| 69 6f 6e 20 6f 66 20 6f | 74 68 65 72 20 54 65 63 |ion of o|ther Tec|
|00004fd0| 68 6e 69 63 61 6c 20 4e | 6f 74 65 73 2e 20 54 68 |hnical N|otes. Th|
|00004fe0| 65 20 51 26 41 20 66 75 | 6e 63 74 69 6f 6e 20 69 |e Q&A fu|nction i|
|00004ff0| 73 20 74 6f 20 67 65 74 | 00 00 06 00 03 00 00 00 |s to get|........|
|00005000| a1 00 64 00 10 4f 4e 4c | 4e 00 64 01 e4 00 f6 00 |..d..ONL|N.d.....|
|00005010| 3c 01 02 00 d9 00 28 01 | 1e 00 5a 1e 6e 65 77 20 |<.....(.|..Z.new |
|00005020| 74 65 63 68 6e 69 63 61 | 6c 20 69 6e 66 6f 72 6d |technica|l inform|
|00005030| 61 74 69 6f 6e 20 61 6e | 64 20 00 00 06 00 04 00 |ation an|d ......|
|00005040| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 02 00 |....d..O|NLN.d...|
|00005050| f6 00 d9 01 02 01 fe 00 | 29 9d 36 75 70 64 61 74 |........|).6updat|
|00005060| 65 73 20 74 6f 20 79 6f | 75 20 71 75 69 63 6b 6c |es to yo|u quickl|
|00005070| 79 2c 20 73 61 76 69 6e | 67 20 74 68 65 20 70 6f |y, savin|g the po|
|00005080| 6c 69 73 68 20 66 6f 72 | 20 77 68 65 6e 20 74 68 |lish for| when th|
|00005090| 65 00 06 00 00 00 00 00 | a1 00 64 00 10 4f 4e 4c |e.......|..d..ONL|
|000050a0| 4e 00 64 02 39 01 02 00 | 3c 01 0e 01 0f 00 28 01 |N.d.9...|<.....(.|
|000050b0| 2a 00 5a 2c 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |*.Z,info|rmation |
|000050c0| 6d 69 67 72 61 74 65 73 | 20 69 6e 74 6f 20 72 65 |migrates| into re|
|000050d0| 66 65 72 65 6e 63 65 20 | 6d 61 6e 75 61 6c 73 2e |ference |manuals.|
|000050e0| 00 00 06 00 01 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|000050f0| 4e 00 64 02 66 01 1a 00 | 3c 01 26 01 6b 00 2a 18 |N.d.f...|<.&.k.*.|
|00005100| 3a 51 26 41 73 20 61 72 | 65 20 6e 6f 77 20 69 6e |:Q&As ar|e now in|
|00005110| 63 6c 75 64 65 64 20 77 | 69 74 68 20 54 65 63 68 |cluded w|ith Tech|
|00005120| 6e 69 63 61 6c 20 4e 6f | 74 65 73 20 74 6f 20 6d |nical No|tes to m|
|00005130| 61 6b 65 20 61 63 63 65 | 73 73 20 00 06 00 02 00 |ake acce|ss .....|
|00005140| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 02 a0 01 |....d..O|NLN.d...|
|00005150| 1a 01 6b 01 26 01 fe 00 | 28 01 42 01 89 1f 74 6f |..k.&...|(.B...to|
|00005160| 20 74 65 63 68 6e 69 63 | 61 6c 20 75 70 64 61 74 | technic|al updat|
|00005170| 65 73 20 65 61 73 69 65 | 72 20 66 6f 72 00 06 00 |es easie|r for...|
|00005180| 01 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |......d.|.ONLN.d.|
|00005190| c0 01 26 00 3c 01 32 01 | 2e 00 28 01 4e 00 5a 2f |..&.<.2.|..(.N.Z/|
|000051a0| 79 6f 75 2e 20 49 66 20 | 79 6f 75 20 68 61 76 65 |you. If |you have|
|000051b0| 20 63 6f 6d 6d 65 6e 74 | 73 20 6f 72 20 73 75 67 | comment|s or sug|
|000051c0| 67 65 73 74 69 6f 6e 73 | 20 61 62 6f 75 74 20 00 |gestions| about .|
|000051d0| 06 00 02 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000051e0| 64 02 ef 01 26 01 2e 01 | 32 01 fe 00 29 f2 2a 51 |d...&...|2...).*Q|
|000051f0| 26 41 20 63 6f 6e 74 65 | 6e 74 20 6f 72 20 64 69 |&A conte|nt or di|
|00005200| 73 74 72 69 62 75 74 69 | 6f 6e 2c 20 70 6c 65 61 |stributi|on, plea|
|00005210| 73 65 20 6c 65 74 20 75 | 73 00 a1 00 64 00 10 4f |se let u|s...d..O|
|00005220| 4e 4c 4e 00 64 03 1a 01 | 32 00 3c 01 3e 00 5c 00 |NLN.d...|2.<.>.\.|
|00005230| 28 01 5a 00 5a 05 6b 6e | 6f 77 20 00 06 00 03 00 |(.Z.Z.kn|ow .....|
|00005240| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 1f 01 |....d..O|NLN.d...|
|00005250| 32 00 5c 01 3e 01 fe 00 | 29 20 49 62 79 20 73 65 |2.\.>...|) Iby se|
|00005260| 6e 64 69 6e 67 20 61 6e | 20 41 70 70 6c 65 4c 69 |nding an| AppleLi|
|00005270| 6e 6b 20 74 6f 20 44 45 | 56 46 45 45 44 42 41 43 |nk to DE|VFEEDBAC|
|00005280| 4b 2e 20 41 70 70 6c 65 | 20 50 61 72 74 6e 65 72 |K. Apple| Partner|
|00005290| 73 20 6d 61 79 20 73 65 | 6e 64 20 74 65 63 68 6e |s may se|nd techn|
|000052a0| 69 63 61 6c 00 00 06 00 | 00 00 00 00 a1 00 64 00 |ical....|......d.|
|000052b0| 10 4f 4e 4c 4e 00 64 03 | 69 01 3e 00 3c 01 4a 01 |.ONLN.d.|i.>.<.J.|
|000052c0| 69 00 28 01 66 00 5a 39 | 71 75 65 73 74 69 6f 6e |i.(.f.Z9|question|
|000052d0| 73 20 61 62 6f 75 74 20 | 51 26 41 20 63 6f 6e 74 |s about |Q&A cont|
|000052e0| 65 6e 74 20 74 6f 20 44 | 45 56 53 55 50 50 4f 52 |ent to D|EVSUPPOR|
|000052f0| 54 20 66 6f 72 20 72 65 | 73 6f 6c 75 74 69 6f 6e |T for re|solution|
|00005300| 2e 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 03 a3 01 |....d..O|NLN.d...|
|00005310| 56 00 3c 01 62 00 e1 00 | 2a 18 20 4e 65 77 20 51 |V.<.b...|*. New Q|
|00005320| 26 41 73 20 69 6e 20 74 | 68 69 73 20 54 65 63 68 |&As in t|his Tech|
|00005330| 6e 69 63 61 6c 20 4e 6f | 74 65 3a 00 a1 00 64 00 |nical No|te:...d.|
|00005340| 10 4f 4e 4c 4e 00 64 03 | c4 01 62 00 3c 01 6e 01 |.ONLN.d.|..b.<.n.|
|00005350| 07 00 2a 0c 28 48 6f 77 | 20 74 6f 20 73 61 76 65 |..*.(How| to save|
|00005360| 20 61 6e 64 20 72 65 73 | 74 6f 72 65 20 77 69 6e | and res|tore win|
|00005370| 64 6f 77 20 70 6f 73 69 | 74 69 6f 6e 73 00 07 00 |dow posi|tions...|
|00005380| 01 00 01 00 22 01 81 00 | 57 00 0b 00 20 01 99 00 |...."...|W... ...|
|00005390| 58 01 99 02 1d 00 04 01 | 00 00 0d 00 0e 00 a1 00 |X.......|........|
|000053a0| 64 00 10 4f 4e 4c 4e 00 | 64 03 ed 01 93 00 3c 01 |d..ONLN.|d.....<.|
|000053b0| a2 01 47 00 2a 34 24 44 | 6f 6e d5 74 20 63 61 6c |..G.*4$D|on.t cal|
|000053c0| 6c 20 46 72 6f 6e 74 57 | 69 6e 64 6f 77 20 66 72 |l FrontW|indow fr|
|000053d0| 6f 6d 20 56 42 4c 20 74 | 61 73 6b 00 04 00 00 00 |om VBL t|ask.....|
|000053e0| 0d 00 0c 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 04 |......d.|.ONLN.d.|
|000053f0| 12 01 a2 00 3c 01 ae 00 | a7 00 2a 0c 17 44 61 74 |....<...|..*..Dat|
|00005400| 65 20 57 72 69 74 74 65 | 6e 3a 20 20 20 33 2f 32 |e Writte|n: 3/2|
|00005410| 31 2f 39 33 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |1/93....|d..ONLN.|
|00005420| 64 04 2a 01 ae 00 3c 01 | ba 00 a8 00 2a 0c 16 4c |d.*...<.|....*..L|
|00005430| 61 73 74 20 72 65 76 69 | 65 77 65 64 3a 20 36 2f |ast revi|ewed: 6/|
|00005440| 32 34 2f 39 33 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |24/93...|d..ONLN.|
|00005450| 64 04 41 01 c6 00 3c 01 | d2 01 c9 00 2a 18 4f 57 |d.A...<.|....*.OW|
|00005460| 68 65 6e 20 49 20 63 61 | 6c 6c 20 46 72 6f 6e 74 |hen I ca|ll Front|
|00005470| 57 69 6e 64 6f 77 20 66 | 72 6f 6d 20 77 69 74 68 |Window f|rom with|
|00005480| 69 6e 20 61 20 56 42 4c | 20 74 61 73 6b 2c 20 6d |in a VBL| task, m|
|00005490| 79 20 73 79 73 74 65 6d | 20 6f 63 63 61 73 69 6f |y system| occasio|
|000054a0| 6e 61 6c 6c 79 20 66 72 | 65 65 7a 65 73 20 00 00 |nally fr|eezes ..|
|000054b0| 06 00 01 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000054c0| 64 04 90 01 c6 01 c9 01 | d2 01 fe 00 28 01 ee 01 |d.......|....(...|
|000054d0| e7 0d 61 74 20 74 68 69 | 73 20 63 61 6c 6c 2e 00 |..at thi|s call..|
|000054e0| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000054f0| 64 04 9e 01 d2 00 3c 01 | de 01 04 00 28 01 fa 00 |d.....<.|....(...|
|00005500| 5a 29 49 73 20 74 68 65 | 72 65 20 61 6e 79 20 63 |Z)Is the|re any c|
|00005510| 68 61 6e 63 65 20 74 68 | 61 74 20 69 74 20 6d 6f |hance th|at it mo|
|00005520| 76 65 73 20 6d 65 6d 6f | 72 79 3f 00 a1 00 64 00 |ves memo|ry?...d.|
|00005530| 10 4f 4e 4c 4e 00 64 04 | c8 01 de 00 3c 01 ea 00 |.ONLN.d.|....<...|
|00005540| 4e 00 2a 0c 03 5f 5f 5f | 00 00 06 00 02 00 00 00 |N.*..___|........|
|00005550| a1 00 64 00 10 4f 4e 4c | 4e 00 64 04 cc 01 f6 00 |..d..ONL|N.d.....|
|00005560| 3c 02 02 01 99 00 2a 18 | 43 46 72 6f 6e 74 57 69 |<.....*.|CFrontWi|
|00005570| 6e 64 6f 77 20 6d 61 79 | 20 6d 6f 76 65 20 6d 65 |ndow may| move me|
|00005580| 6d 6f 72 79 2e 20 49 74 | 20 69 73 6e d5 74 20 6f |mory. It| isn.t o|
|00005590| 6e 20 74 68 65 20 6c 69 | 73 74 20 6f 66 20 72 6f |n the li|st of ro|
|000055a0| 75 74 69 6e 65 73 20 74 | 68 61 74 20 00 00 06 00 |utines t|hat ....|
|000055b0| 03 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 05 |......d.|.ONLN.d.|
|000055c0| 0f 01 f6 01 99 02 02 01 | fe 00 28 02 1e 01 b7 11 |........|..(.....|
|000055d0| 6d 61 79 20 6d 6f 76 65 | 20 6f 72 20 70 75 72 67 |may move| or purg|
|000055e0| 65 00 06 00 00 00 00 00 | a1 00 64 00 10 4f 4e 4c |e.......|..d..ONL|
|000055f0| 4e 00 64 05 21 02 02 00 | 3c 02 0e 00 7c 00 28 02 |N.d.!...|<...|.(.|
|00005600| 2a 00 5a 0c 6d 65 6d 6f | 72 79 2c 20 62 75 74 20 |*.Z.memo|ry, but |
|00005610| 00 00 06 00 01 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|00005620| 4e 00 64 05 2d 02 02 00 | 7c 02 0e 01 fe 00 29 40 |N.d.-...||.....)@|
|00005630| 51 69 74 20 73 68 6f 75 | 6c 64 20 62 65 2e 20 49 |Qit shou|ld be. I|
|00005640| 74 d5 73 20 62 65 65 6e | 20 70 61 74 63 68 65 64 |t.s been| patched|
|00005650| 20 6f 75 74 20 73 69 6e | 63 65 20 4d 75 6c 74 69 | out sin|ce Multi|
|00005660| 46 69 6e 64 65 72 2c 20 | 61 6e 64 20 73 68 6f 75 |Finder, |and shou|
|00005670| 6c 64 6e d5 74 20 62 65 | 20 63 61 6c 6c 65 64 20 |ldn.t be| called |
|00005680| 61 74 00 00 06 00 00 00 | 00 00 a1 00 64 00 10 4f |at......|....d..O|
|00005690| 4e 4c 4e 00 64 05 7f 02 | 0e 00 3c 02 1a 00 7f 00 |NLN.d...|..<.....|
|000056a0| 28 02 36 00 5a 0f 69 6e | 74 65 72 72 75 70 74 20 |(.6.Z.in|terrupt |
|000056b0| 74 69 6d 65 2e 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |time....|d..ONLN.|
|000056c0| 64 05 8f 02 26 00 3c 02 | 32 01 6c 00 2a 18 40 59 |d...&.<.|2.l.*.@Y|
|000056d0| 6f 75 d5 6c 6c 20 68 61 | 76 65 20 74 6f 20 63 6f |ou.ll ha|ve to co|
|000056e0| 6d 65 20 75 70 20 77 69 | 74 68 20 61 6e 6f 74 68 |me up wi|th anoth|
|000056f0| 65 72 20 6d 65 74 68 6f | 64 20 6f 66 20 67 65 74 |er metho|d of get|
|00005700| 74 69 6e 67 20 74 68 65 | 20 66 72 6f 6e 74 20 00 |ting the| front .|
|00005710| 06 00 01 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00005720| 64 05 cf 02 26 01 6c 02 | 32 01 fe 00 28 02 4e 01 |d...&.l.|2...(.N.|
|00005730| 8a 1a 77 69 6e 64 6f 77 | 20 66 72 6f 6d 20 79 6f |..window| from yo|
|00005740| 75 72 20 56 42 4c 20 74 | 61 73 6b 2e 00 00 a1 00 |ur VBL t|ask.....|
|00005750| 64 00 10 4f 4e 4c 4e 00 | 64 05 ea 02 32 00 3c 02 |d..ONLN.|d...2.<.|
|00005760| 3e 01 63 00 28 02 5a 00 | 5a 39 59 6f 75 20 6d 61 |>.c.(.Z.|Z9You ma|
|00005770| 79 20 77 61 6e 74 20 74 | 6f 20 6b 65 65 70 20 61 |y want t|o keep a|
|00005780| 20 73 68 61 64 6f 77 20 | 63 6f 70 79 20 6f 66 20 | shadow |copy of |
|00005790| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|000057a0| d5 73 20 00 06 00 02 00 | 00 00 a1 00 64 00 10 4f |.s .....|....d..O|
|000057b0| 4e 4c 4e 00 64 06 23 02 | 32 01 63 02 3e 01 fe 00 |NLN.d.#.|2.c.>...|
|000057c0| 28 02 5a 01 81 1f 77 69 | 6e 64 6f 77 20 6c 69 73 |(.Z...wi|ndow lis|
|000057d0| 74 20 69 6e 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |t in you|r applic|
|000057e0| 61 74 69 6f 6e 00 06 00 | 00 00 00 00 a1 00 64 00 |ation...|......d.|
|000057f0| 10 4f 4e 4c 4e 00 64 06 | 43 02 3e 00 3c 02 4a 01 |.ONLN.d.|C.>.<.J.|
|00005800| 15 00 28 02 66 00 5a 2e | 67 6c 6f 62 61 6c 20 61 |..(.f.Z.|global a|
|00005810| 72 65 61 20 77 68 65 72 | 65 20 79 6f 75 72 20 56 |rea wher|e your V|
|00005820| 42 4c 20 74 61 73 6b 20 | 63 61 6e 20 67 65 74 20 |BL task |can get |
|00005830| 74 6f 20 69 74 2e 00 00 | 04 01 00 00 0d 00 0e 00 |to it...|........|
|00005840| a1 00 64 00 10 4f 4e 4c | 4e 00 64 06 72 02 62 00 |..d..ONL|N.d.r.b.|
|00005850| 3c 02 71 01 54 00 2a 27 | 28 48 6f 77 20 74 6f 20 |<.q.T.*'|(How to |
|00005860| 73 61 76 65 20 61 6e 64 | 20 72 65 73 74 6f 72 65 |save and| restore|
|00005870| 20 77 69 6e 64 6f 77 20 | 70 6f 73 69 74 69 6f 6e | window |position|
|00005880| 73 00 04 00 00 00 0d 00 | 0c 00 a1 00 64 00 10 4f |s.......|....d..O|
|00005890| 4e 4c 4e 00 64 06 9b 02 | 71 00 3c 02 7d 00 aa 00 |NLN.d...|q.<.}...|
|000058a0| 2a 0c 17 44 61 74 65 20 | 57 72 69 74 74 65 6e 3a |*..Date |Written:|
|000058b0| 20 20 31 31 2f 31 36 2f | 39 33 00 00 22 02 90 00 | 11/16/|93.."...|
|000058c0| 57 00 0b 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 06 |W.....d.|.ONLN.d.|
|000058d0| b3 02 7d 00 3c 02 89 00 | b1 00 2a 0c 18 4c 61 73 |..}.<...|..*..Las|
|000058e0| 74 20 72 65 76 69 65 77 | 65 64 3a 20 20 31 31 2f |t review|ed: 11/|
|000058f0| 31 36 2f 39 33 00 22 02 | 9c 00 57 00 0b 00 a1 00 |16/93.".|..W.....|
|00005900| 64 00 10 4f 4e 4c 4e 00 | 64 06 cc 02 95 00 3c 02 |d..ONLN.|d.....<.|
|00005910| a1 01 82 00 2a 18 42 48 | 6f 77 20 73 68 6f 75 6c |....*.BH|ow shoul|
|00005920| 64 20 6d 79 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |d my app|lication|
|00005930| 20 73 61 76 65 20 61 6e | 64 20 72 65 73 74 6f 72 | save an|d restor|
|00005940| 65 20 69 74 73 20 77 69 | 6e 64 6f 77 73 d5 20 70 |e its wi|ndows. p|
|00005950| 6f 73 69 74 69 6f 6e 73 | 3f 00 20 02 d3 00 58 02 |ositions|?. ...X.|
|00005960| d3 02 1d 00 0d 00 0a 00 | 2a 2b 1c 54 42 20 35 37 |........|*+.TB 57|
|00005970| 35 20 2d 20 57 69 6e 64 | 6f 77 20 4d 61 6e 61 67 |5 - Wind|ow Manag|
|00005980| 65 72 20 51 26 41 73 00 | 28 02 e8 02 04 01 31 00 |er Q&As.|(.....1.|
|00005990| 29 05 05 20 6f 66 20 38 | 00 00 28 02 fe 00 5a 13 |).. of 8|..(...Z.|
|000059a0| 4d 2e 54 42 2e 57 69 6e | 64 6f 77 4d 67 72 2e 51 |M.TB.Win|dowMgr.Q|
|000059b0| 26 41 73 00 ff 00 a1 00 | c0 01 f4 25 25 44 53 49 |&As.....|...%%DSI|
|000059c0| 44 49 43 54 3a 5f 63 76 | 0d 63 75 72 72 65 6e 74 |DICT:_cv|.current|
|000059d0| 64 69 63 74 20 2f 62 75 | 20 6b 6e 6f 77 6e 20 7b |dict /bu| known {|
|000059e0| 62 75 7d 69 66 0d 75 73 | 65 72 64 69 63 74 20 2f |bu}if.us|erdict /|
|000059f0| 5f 63 76 20 6b 6e 6f 77 | 6e 20 6e 6f 74 7b 75 73 |_cv know|n not{us|
|00005a00| 65 72 64 69 63 74 20 2f | 5f 63 76 20 33 30 20 64 |erdict /|_cv 30 d|
|00005a10| 69 63 74 20 70 75 74 7d | 69 66 0d 5f 63 76 20 62 |ict put}|if._cv b|
|00005a20| 65 67 69 6e 0d 2f 62 64 | 66 7b 62 69 6e 64 20 64 |egin./bd|f{bind d|
|00005a30| 65 66 7d 62 69 6e 64 20 | 64 65 66 0d 63 75 72 72 |ef}bind |def.curr|
|00005a40| 65 6e 74 73 63 72 65 65 | 6e 2f 63 73 20 65 78 63 |entscree|n/cs exc|
|00005a50| 68 20 64 65 66 2f 63 61 | 20 65 78 63 68 20 64 65 |h def/ca| exch de|
|00005a60| 66 2f 63 66 20 65 78 63 | 68 20 64 65 66 0d 2f 73 |f/cf exc|h def./s|
|00005a70| 65 74 63 6d 79 6b 63 6f | 6c 6f 72 20 77 68 65 72 |etcmykco|lor wher|
|00005a80| 65 7b 2f 73 65 74 63 6d | 79 6b 63 6f 6c 6f 72 20 |e{/setcm|ykcolor |
|00005a90| 67 65 74 20 2f 63 76 63 | 6d 79 6b 20 65 78 63 68 |get /cvc|myk exch|
|00005aa0| 20 64 65 66 7d 7b 2f 63 | 76 63 6d 79 6b 7b 31 20 | def}{/c|vcmyk{1 |
|00005ab0| 73 75 62 20 34 20 31 20 | 72 6f 6c 6c 20 33 7b 33 |sub 4 1 |roll 3{3|
|00005ac0| 20 69 6e 64 65 78 20 61 | 64 64 20 6e 65 67 20 64 | index a|dd neg d|
|00005ad0| 75 70 20 30 20 6c 74 7b | 70 6f 70 20 30 7d 69 66 |up 0 lt{|pop 0}if|
|00005ae0| 20 33 20 31 20 72 6f 6c | 6c 7d 72 65 70 65 61 74 | 3 1 rol|l}repeat|
|00005af0| 20 73 65 74 72 67 62 63 | 6f 6c 6f 72 20 70 6f 70 | setrgbc|olor pop|
|00005b00| 7d 62 64 66 20 7d 69 66 | 65 6c 73 65 0d 2f 73 73 |}bdf }if|else./ss|
|00005b10| 7b 2f 2f 63 66 20 2f 2f | 63 61 20 2f 2f 63 73 20 |{//cf //|ca //cs |
|00005b20| 73 65 74 73 63 72 65 65 | 6e 7d 62 64 66 0d 2f 73 |setscree|n}bdf./s|
|00005b30| 74 67 7b 73 73 20 73 65 | 74 67 72 61 79 7d 62 64 |tg{ss se|tgray}bd|
|00005b40| 66 0d 2f 73 74 72 67 62 | 7b 73 73 20 73 65 74 72 |f./strgb|{ss setr|
|00005b50| 67 62 63 6f 6c 6f 72 7d | 62 64 66 0d 2f 73 74 63 |gbcolor}|bdf./stc|
|00005b60| 6d 79 6b 7b 73 73 20 63 | 76 63 6d 79 6b 7d 62 64 |myk{ss c|vcmyk}bd|
|00005b70| 66 0d 2f 6d 69 6e 31 7b | 64 75 70 20 30 20 65 71 |f./min1{|dup 0 eq|
|00005b80| 7b 70 6f 70 20 31 7d 69 | 66 7d 62 64 66 0d 65 6e |{pop 1}i|f}bdf.en|
|00005b90| 64 0d 63 75 72 72 65 6e | 74 64 69 63 74 20 2f 62 |d.curren|tdict /b|
|00005ba0| 6e 20 6b 6e 6f 77 6e 20 | 7b 62 6e 7d 69 66 0d 00 |n known |{bn}if..|
|00005bb0| a0 00 bf 18 52 00 00 00 | 00 02 d7 02 23 00 11 02 |....R...|....#...|
|00005bc0| ff 0c 00 ff ff ff ff 00 | 00 00 00 00 00 00 00 02 |........|........|
|00005bd0| 23 00 00 02 d7 00 00 00 | 00 00 00 00 1e 00 0c 00 |#.......|........|
|00005be0| 1e 00 1f 00 01 00 0a 00 | 00 00 00 03 49 02 52 00 |........|....I.R.|
|00005bf0| 2c 00 08 00 14 05 54 69 | 6d 65 73 00 03 00 14 00 |,.....Ti|mes.....|
|00005c00| 0d 00 0a 00 2e 00 04 00 | 00 00 00 00 2b 36 2d 19 |........|....+6-.|
|00005c10| 4d 61 63 69 6e 74 6f 73 | 68 20 54 65 63 68 6e 69 |Macintos|h Techni|
|00005c20| 63 61 6c 20 4e 6f 74 65 | 73 00 20 00 2f 00 34 00 |cal Note|s. ./.4.|
|00005c30| 2f 01 f9 00 0d 00 0c 00 | a1 00 64 00 10 4f 4e 4c |/.......|..d..ONL|
|00005c40| 4e 00 64 00 00 00 2b 00 | 18 00 37 00 2a 00 2a 26 |N.d...+.|..7.*.*&|
|00005c50| 03 5f 5f 5f 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |.___....|d..ONLN.|
|00005c60| 64 00 04 00 43 00 18 00 | 4f 01 78 00 2a 18 4b 49 |d...C...|O.x.*.KI|
|00005c70| 74 20 69 73 20 76 65 72 | 79 20 69 6d 70 6f 72 74 |t is ver|y import|
|00005c80| 61 6e 74 20 74 68 61 74 | 20 79 6f 75 20 73 61 76 |ant that| you sav|
|00005c90| 65 20 74 68 65 20 70 6f | 73 69 74 69 6f 6e 73 20 |e the po|sitions |
|00005ca0| 6f 66 20 77 69 6e 64 6f | 77 73 20 74 68 61 74 20 |of windo|ws that |
|00005cb0| 79 6f 75 20 6f 70 65 6e | 2c 20 00 00 06 00 01 00 |you open|, ......|
|00005cc0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 4f 00 |....d..O|NLN.d.O.|
|00005cd0| 43 01 78 00 4f 01 da 00 | 28 00 6b 01 96 15 73 6f |C.x.O...|(.k...so|
|00005ce0| 20 74 68 61 74 20 74 68 | 65 20 6e 65 78 74 20 74 | that th|e next t|
|00005cf0| 69 6d 65 00 06 00 00 00 | 00 00 a1 00 64 00 10 4f |ime.....|....d..O|
|00005d00| 4e 4c 4e 00 64 00 65 00 | 4f 00 18 00 5b 00 29 00 |NLN.d.e.|O...[.).|
|00005d10| 28 00 77 00 36 04 74 68 | 65 20 00 00 06 00 01 00 |(.w.6.th|e ......|
|00005d20| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 69 00 |....d..O|NLN.d.i.|
|00005d30| 4f 00 29 00 5b 01 da 00 | 29 11 57 75 73 65 72 20 |O.).[...|).Wuser |
|00005d40| 6c 61 75 6e 63 68 65 73 | 20 79 6f 75 72 20 61 70 |launches| your ap|
|00005d50| 70 6c 69 63 61 74 69 6f | 6e 2c 20 74 68 65 20 77 |plicatio|n, the w|
|00005d60| 69 6e 64 6f 77 73 20 77 | 69 6c 6c 20 67 6f 20 77 |indows w|ill go w|
|00005d70| 68 65 72 65 20 74 68 65 | 79 20 68 61 64 20 74 68 |here the|y had th|
|00005d80| 65 6d 20 6c 61 73 74 2e | 20 57 69 74 68 20 64 61 |em last.| With da|
|00005d90| 74 61 00 00 06 00 00 00 | 00 00 a1 00 64 00 10 4f |ta......|....d..O|
|00005da0| 4e 4c 4e 00 64 00 c1 00 | 5b 00 18 00 67 01 8e 00 |NLN.d...|[...g...|
|00005db0| 28 00 83 00 36 52 66 69 | 6c 65 73 2c 20 74 68 65 |(...6Rfi|les, the|
|00005dc0| 20 77 69 6e 64 6f 77 20 | 70 6f 73 69 74 69 6f 6e | window |position|
|00005dd0| 73 20 63 61 6e 20 62 65 | 20 73 74 6f 72 65 64 20 |s can be| stored |
|00005de0| 69 6e 20 65 69 74 68 65 | 72 20 74 68 65 20 72 65 |in eithe|r the re|
|00005df0| 73 6f 75 72 63 65 20 6f | 72 20 74 68 65 20 64 61 |source o|r the da|
|00005e00| 74 61 20 66 6f 72 6b 2e | 00 00 06 00 04 00 00 00 |ta fork.|........|
|00005e10| a1 00 64 00 10 4f 4e 4c | 4e 00 64 01 14 00 73 00 |..d..ONL|N.d...s.|
|00005e20| 18 00 7f 01 9b 00 2a 18 | 48 49 66 20 79 6f 75 20 |......*.|HIf you |
|00005e30| 68 61 76 65 20 77 69 6e | 64 6f 77 73 20 74 68 61 |have win|dows tha|
|00005e40| 74 20 61 72 65 6e d5 74 | 20 64 61 74 61 20 77 69 |t aren.t| data wi|
|00005e50| 6e 64 6f 77 73 20 28 69 | 2e 65 2e 20 73 65 70 61 |ndows (i|.e. sepa|
|00005e60| 72 61 74 65 20 66 69 6c | 65 73 29 2c 20 79 6f 75 |rate fil|es), you|
|00005e70| 20 00 06 00 05 00 00 00 | a1 00 64 00 10 4f 4e 4c | .......|..d..ONL|
|00005e80| 4e 00 64 01 5c 00 73 01 | 9b 00 7f 01 da 00 28 00 |N.d.\.s.|......(.|
|00005e90| 9b 01 b9 0c 73 68 6f 75 | 6c 64 20 73 74 6f 72 65 |....shou|ld store|
|00005ea0| 00 00 22 00 92 00 33 00 | 0b 00 06 00 00 00 00 00 |.."...3.|........|
|00005eb0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 01 69 00 7f 00 |..d..ONL|N.d.i...|
|00005ec0| 18 00 8b 01 8e 00 28 00 | a7 00 36 52 69 6e 66 6f |......(.|..6Rinfo|
|00005ed0| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 75 74 20 74 68 |rmation |about th|
|00005ee0| 65 69 72 20 70 6f 73 69 | 74 69 6f 6e 73 20 69 6e |eir posi|tions in|
|00005ef0| 20 61 20 73 65 70 61 72 | 61 74 65 20 63 6f 6e 66 | a separ|ate conf|
|00005f00| 69 67 75 72 61 74 69 6f | 6e 20 66 69 6c 65 2e 20 |iguratio|n file. |
|00005f10| 28 53 74 6f 72 69 6e 67 | 20 74 68 65 6d 20 00 00 |(Storing| them ..|
|00005f20| 06 00 01 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00005f30| 64 01 bb 00 7f 01 8e 00 | 8b 01 da 00 28 00 a7 01 |d.......|....(...|
|00005f40| ac 10 61 73 20 61 20 72 | 65 73 6f 75 72 63 65 20 |..as a r|esource |
|00005f50| 69 6e 00 00 22 00 9e 00 | 33 00 0b 00 06 00 02 00 |in.."...|3.......|
|00005f60| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 01 cc 00 |....d..O|NLN.d...|
|00005f70| 8b 00 18 00 97 00 ea 00 | 28 00 b3 00 36 2b 79 6f |........|(...6+yo|
|00005f80| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 69 |ur appli|cation i|
|00005f90| 73 20 61 20 62 61 64 20 | 69 64 65 61 2c 20 73 69 |s a bad |idea, si|
|00005fa0| 6e 63 65 20 74 68 65 79 | 20 00 06 00 03 00 00 00 |nce they| .......|
|00005fb0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 01 f7 00 8b 00 |..d..ONL|N.d.....|
|00005fc0| ea 00 97 01 da 00 29 d2 | 2e 74 68 65 6e 20 31 29 |......).|.then 1)|
|00005fd0| 20 61 72 65 20 6e 6f 74 | 20 73 68 61 72 65 61 62 | are not| shareab|
|00005fe0| 6c 65 20 6f 6e 20 41 70 | 70 6c 65 53 68 61 72 65 |le on Ap|pleShare|
|00005ff0| 20 28 73 69 6e 63 65 00 | 22 00 aa 00 33 00 0b 00 | (since.|"...3...|
|00006000| 06 00 01 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00006010| 64 02 26 00 97 00 18 00 | a3 00 61 00 28 00 bf 00 |d.&.....|..a.(...|
|00006020| 36 0f 72 65 73 6f 75 72 | 63 65 20 66 6f 72 6b 73 |6.resour|ce forks|
|00006030| 20 00 06 00 02 00 00 00 | a1 00 64 00 10 4f 4e 4c | .......|..d..ONL|
|00006040| 4e 00 64 02 35 00 97 00 | 61 00 a3 01 da 00 29 49 |N.d.5...|a.....)I|
|00006050| 49 61 72 65 20 6e 6f 74 | 29 20 61 6e 64 20 32 29 |Iare not|) and 2)|
|00006060| 20 63 61 6e 6e 6f 74 20 | 73 61 76 65 20 74 68 65 | cannot |save the|
|00006070| 69 72 20 70 6f 73 69 74 | 69 6f 6e 73 20 69 66 20 |ir posit|ions if |
|00006080| 72 75 6e 20 66 72 6f 6d | 20 61 20 43 44 2d 52 4f |run from| a CD-RO|
|00006090| 4d 20 6f 72 20 6f 74 68 | 65 72 00 00 22 00 b6 00 |M or oth|er.."...|
|000060a0| 33 00 0b 00 06 00 00 00 | 00 00 a1 00 64 00 10 4f |3.......|....d..O|
|000060b0| 4e 4c 4e 00 64 02 7f 00 | a3 00 18 00 af 00 71 00 |NLN.d...|......q.|
|000060c0| 28 00 cb 00 36 12 70 72 | 6f 74 65 63 74 65 64 20 |(...6.pr|otected |
|000060d0| 76 6f 6c 75 6d 65 2e 29 | 00 00 22 00 c2 00 33 00 |volume.)|.."...3.|
|000060e0| 0b 00 22 00 ce 00 33 00 | 0b 00 06 00 01 00 00 00 |.."...3.|........|
|000060f0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 02 93 00 bb 00 |..d..ONL|N.d.....|
|00006100| 18 00 c7 01 37 00 2a 18 | 3b 55 6e 64 65 72 20 53 |....7.*.|;Under S|
|00006110| 79 73 74 65 6d 20 37 2c | 20 74 68 69 73 20 66 69 |ystem 7,| this fi|
|00006120| 6c 65 20 73 68 6f 75 6c | 64 20 62 65 20 70 75 74 |le shoul|d be put|
|00006130| 20 69 6e 20 74 68 65 20 | 50 72 65 66 65 72 65 6e | in the |Preferen|
|00006140| 63 65 73 20 00 00 06 00 | 02 00 00 00 a1 00 64 00 |ces ....|......d.|
|00006150| 10 4f 4e 4c 4e 00 64 02 | ce 00 bb 01 37 00 c7 01 |.ONLN.d.|....7...|
|00006160| da 00 28 00 e3 01 55 20 | 46 6f 6c 64 65 72 20 69 |..(...U |Folder i|
|00006170| 6e 73 69 64 65 20 74 68 | 65 20 53 79 73 74 65 6d |nside th|e System|
|00006180| 20 46 6f 6c 64 65 72 2e | 00 00 22 00 da 00 33 00 | Folder.|.."...3.|
|00006190| 0b 00 06 00 00 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|000061a0| 4e 00 64 02 ef 00 c7 00 | 18 00 d3 00 d5 00 28 00 |N.d.....|......(.|
|000061b0| ef 00 36 28 55 6e 64 65 | 72 20 53 79 73 74 65 6d |..6(Unde|r System|
|000061c0| 20 36 2c 20 74 68 69 73 | 20 66 69 6c 65 20 73 68 | 6, this| file sh|
|000061d0| 6f 75 6c 64 20 62 65 20 | 70 75 74 20 00 00 06 00 |ould be |put ....|
|000061e0| 01 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |......d.|.ONLN.d.|
|000061f0| 17 00 c7 00 d5 00 d3 01 | da 00 29 bd 37 69 6e 20 |........|..).7in |
|00006200| 74 68 65 20 63 75 72 72 | 65 6e 74 6c 79 20 6f 70 |the curr|ently op|
|00006210| 65 6e 20 73 79 73 74 65 | 6d 20 66 6f 6c 64 65 72 |en syste|m folder|
|00006220| 20 28 74 68 69 73 20 69 | 73 20 67 75 61 72 61 6e | (this i|s guaran|
|00006230| 74 65 65 64 00 00 22 00 | e6 00 33 00 0b 00 a1 00 |teed..".|..3.....|
|00006240| 64 00 10 4f 4e 4c 4e 00 | 64 03 4f 00 d3 00 18 00 |d..ONLN.|d.O.....|
|00006250| df 00 94 00 28 00 fb 00 | 36 1a 74 6f 20 62 65 20 |....(...|6.to be |
|00006260| 61 20 6c 6f 63 61 6c 2c | 20 6e 6f 6e 2d 73 68 61 |a local,| non-sha|
|00006270| 72 65 64 20 00 00 06 00 | 02 00 00 00 a1 00 64 00 |red ....|......d.|
|00006280| 10 4f 4e 4c 4e 00 64 03 | 69 00 d3 00 94 00 df 01 |.ONLN.d.|i.......|
|00006290| da 00 29 7c 3c 76 6f 6c | 75 6d 65 20 61 73 20 6f |..)|<vol|ume as o|
|000062a0| 70 70 6f 73 65 64 20 74 | 6f 20 61 20 73 65 72 76 |pposed t|o a serv|
|000062b0| 65 72 20 76 6f 6c 75 6d | 65 29 2e 20 53 65 65 20 |er volum|e). See |
|000062c0| 54 65 63 68 20 4e 6f 74 | 65 20 54 42 35 33 35 20 |Tech Not|e TB535 |
|000062d0| 2d 00 22 00 f2 00 33 00 | 0b 00 06 00 03 00 00 00 |-."...3.|........|
|000062e0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 03 a6 00 df 00 |..d..ONL|N.d.....|
|000062f0| 18 00 eb 00 3d 00 28 01 | 07 00 36 07 46 69 6e 64 |....=.(.|..6.Find|
|00006300| 65 72 20 00 06 00 04 00 | 00 00 a1 00 64 00 10 4f |er .....|....d..O|
|00006310| 4e 4c 4e 00 64 03 ad 00 | df 00 3d 00 eb 01 da 00 |NLN.d...|..=.....|
|00006320| 29 25 4a 51 26 41 73 3a | 20 22 46 69 6e 64 46 6f |)%JQ&As:| "FindFo|
|00006330| 6c 64 65 72 20 61 6e 64 | 20 53 61 76 69 6e 67 20 |lder and| Saving |
|00006340| 41 70 70 6c 69 63 61 74 | 69 6f 6e 20 50 72 65 66 |Applicat|ion Pref|
|00006350| 65 72 65 6e 63 65 73 22 | 2c 20 66 6f 72 20 63 6f |erences"|, for co|
|00006360| 6d 6d 6f 6e 20 63 6f 64 | 65 20 66 6f 72 00 22 00 |mmon cod|e for.".|
|00006370| fe 00 33 00 0b 00 06 00 | 00 00 00 00 a1 00 64 00 |..3.....|......d.|
|00006380| 10 4f 4e 4c 4e 00 64 03 | f8 00 eb 00 18 00 f7 00 |.ONLN.d.|........|
|00006390| 6a 00 28 01 13 00 36 10 | 53 79 73 74 65 6d 73 20 |j.(...6.|Systems |
|000063a0| 36 20 61 6e 64 20 37 2e | 00 00 22 01 0a 00 33 00 |6 and 7.|.."...3.|
|000063b0| 0b 00 22 01 16 00 33 00 | 0b 00 06 00 02 00 00 00 |.."...3.|........|
|000063c0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 04 09 01 03 00 |..d..ONL|N.d.....|
|000063d0| 18 01 0f 01 b9 00 2a 18 | 4f 52 65 67 61 72 64 6c |......*.|ORegardl|
|000063e0| 65 73 73 20 6f 66 20 77 | 68 65 72 65 20 79 6f 75 |ess of w|here you|
|000063f0| 20 73 74 6f 72 65 20 77 | 69 6e 64 6f 77 20 70 6f | store w|indow po|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.